Full Version: Programatically Import Excel Sheets
UtterAccess Discussion Forums > Microsoft® Access > Access Automation
nschoonover
Good Afternoon,
I would like to come up with some VBA code that will perform the following actions:

'Ask user which tab to import
'Show user listbox of tabs only allow one tab to be imported

'Ask user which fields to import
'Show user listbox of column headers allow many columns to be imported
'all fields formatted as text

'Pull selected columns from selected tab into a new table
'Show user confirmation of number of rows imported

I have used TransferSpreadsheet before, and I can work with record sets and other common VBA stuff. I am just not sure on the syntax for performing theses actions.

Can anyone give me a push in the right direction?

Thanks! smile.gif
Nate
Bob G
what version of access are you using? knowing this will help us make the proper recommendation
nschoonover
I am using Access 2007. Thanks! smile.gif
nschoonover
Any recommendations?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.