PC Review


Reply
Thread Tools Rate Thread

Importing Excel multi tabs into Access

 
 
Glen
Guest
Posts: n/a
 
      15th Sep 2009
I have a form with a button on it that will allow a user to import an Excel
spreadsheet into a table in my database. I am using transferspreadsheet.
It works fine if the data in the Excel worksheet is in the first tab or
sheet. Is there any way to have the user select the tab for the import? Or
preset it so that it always looks for a specific tab?
Thanks!
 
Reply With Quote
 
 
 
 
Ken Snell MVP
Guest
Posts: n/a
 
      15th Sep 2009
Check the examples at http://www.accessmvp.com/KDSnell/EXCEL_Import.htm

You just need to specify the name of the worksheet in the Range argument of
TransferSpreadsheet.
--

Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/



"Glen" <(E-Mail Removed)> wrote in message
news:8EEDFC1A-6312-491E-AD7D-(E-Mail Removed)...
>I have a form with a button on it that will allow a user to import an Excel
> spreadsheet into a table in my database. I am using transferspreadsheet.
> It works fine if the data in the Excel worksheet is in the first tab or
> sheet. Is there any way to have the user select the tab for the import?
> Or
> preset it so that it always looks for a specific tab?
> Thanks!



 
Reply With Quote
 
Glen
Guest
Posts: n/a
 
      15th Sep 2009
Thanks!

"Ken Snell MVP" wrote:

> Check the examples at http://www.accessmvp.com/KDSnell/EXCEL_Import.htm
>
> You just need to specify the name of the worksheet in the Range argument of
> TransferSpreadsheet.
> --
>
> Ken Snell
> <MS ACCESS MVP>
> http://www.accessmvp.com/KDSnell/
>
>
>
> "Glen" <(E-Mail Removed)> wrote in message
> news:8EEDFC1A-6312-491E-AD7D-(E-Mail Removed)...
> >I have a form with a button on it that will allow a user to import an Excel
> > spreadsheet into a table in my database. I am using transferspreadsheet.
> > It works fine if the data in the Excel worksheet is in the first tab or
> > sheet. Is there any way to have the user select the tab for the import?
> > Or
> > preset it so that it always looks for a specific tab?
> > Thanks!

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Importing a multi-sheet Excel spreadsheet into Access Tom S Microsoft Access VBA Modules 9 12th Jan 2009 06:16 PM
Importing a multi page PDF in Access 2003 AccessNoob Microsoft Access 1 14th Apr 2008 09:00 PM
Importing Excel tabs in Access =?Utf-8?B?ZGltcGll?= Microsoft Access VBA Modules 7 21st Jun 2007 11:28 PM
Export multi-page Report to multiple tabs in Excel =?Utf-8?B?S1JlZXNl?= Microsoft Access External Data 0 21st Nov 2005 05:40 PM
importing tabs with leaders from Word into Excel, or creating variable length "dots" in Excel =?Utf-8?B?Q2hpY2E=?= Microsoft Excel Worksheet Functions 4 25th Nov 2003 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:11 PM.