import individual worksheets from excel book

J

jnewl

i have several excel files that have multi tabs
how can i code in vb, so that can import each of these tabs to access and
create tables?
thanks
 
T

Tom van Stiphout

On Tue, 14 Oct 2008 09:53:01 -0700, jnewl

You can link to a tab by not just setting the Connect property, but
also the SourceTableName property. Just create a link and inspect
these values to see what I mean.
Once you have a linked table, a MakeTable query or Append query can
copy the data out to an Access table.

-Tom.
Microsoft Access MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top