TranserSpreadsheet

  • Thread starter jfredel via AccessMonster.com
  • Start date
J

jfredel via AccessMonster.com

I am trying to link an Excel worksheet to an Access DB using a macro which
uses the TransferSpreadsheet command. Everything works fine but now there
are multiple worksheets in my Excel file. My question - in the macro how do
I tell it which worksheet to Link? The file name is C:\Rework Data.xls and
the worksheet name I need is Receipts.

Thanks in advance for the assistance,
Jeff
 
J

jfredel via AccessMonster.com

Just what I was looking for, thanks.
Use the Range argument of the macro action:

Receipts$
I am trying to link an Excel worksheet to an Access DB using a macro which
uses the TransferSpreadsheet command. Everything works fine but now there
[quoted text clipped - 6 lines]
Thanks in advance for the assistance,
Jeff
 

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