Solved

Need to find Specification for an excel file import.

Posted on 2013-01-31
2
328 Views
Last Modified: 2013-01-31
I need to define the fields for:        

DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "Totals", Me.txtTotalsPath, True

This solution in this below link worked for me when I needed to change the specification on a .txt file

http://www.experts-exchange.com/Microsoft/Development/MS_Access/Q_27994625.html

BUT now I have a .xls file that I need to change specification and I can't find an "advanced" button...  HELP!
0
Comment
Question by:gcgcit
  • 2
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 38840559
there is no import specification needed to import a .xls, .xlsx files

what you  need to do, is to import the excel file into a temp Table

then do what you need to do, using the temp Table
0
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 38840564
or open the .xls file and change the column names using vba codes
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question