Import from Excel specified Columns

J

Jason V

I am using a Macro with TransferSpreadsheet. I know that you can specify a
data range to import but can I specify certain columns to import? Say I only
want the data from columns 'J' and 'M'.

Thks JV
 
J

John Nurick

If you're using the TransferSpreadsheet macro action, try specifying the
range as
J:M
.. If you're using DoCmd.TransferSpreadsheet, it's
SheetName$J:M
(or maybe the $ should be a !).
 

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