?
Solved

Need to find Specification for an excel file import.

Posted on 2013-01-31
2
Medium Priority
?
354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

765 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