Many thanks!
How can your program determine which excel files should be linked? All of the
.xls files in a folder, or what?
You can use VBA code with the TransferSpreadsheet method to create a link from
scratch - see the VBA help for the method.
--
John W. Vinson [MVP]
Any help is most appreciated.
"John W. Vinson" wrote:
> On Wed, 6 Jan 2010 17:40:01 -0800, JE <J...@discussions.microsoft.com> wrote:
>
> >I have about 60 excel files that I want to link in an Access database. Other
> >than manually link each file individually, is it possible to link all at one
> >time?
> >
> >Many thanks!
>
> How can your program determine which excel files should be linked? All of the
> ..xls files in a folder, or what?
>
> You can use VBA code with the TransferSpreadsheet method to create a link from
> scratch - see the VBA help for the method.
> --
>
> John W. Vinson [MVP]
> .
>
>The database is not yet created. In a previous db which was similar, I
>manually linked each Excel file in the database and then used the tables in
>subsequent queries. I should add that I do write in vb as I am still
>learning.
So...? Are you ok with this or do you need more info?
"John W. Vinson" wrote:
> .
>