Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SYNTAX ERROR - DoCmd IMPORT code

Status
Not open for further replies.

kinselas

IS-IT--Management
Aug 4, 2002
60
0
0
AU
Please Help
This is code below was suggested I tried but comes up with an error
"Compile error" invalid outside procedure.

DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "Outlets", "u:\Extract.xls", True
 
acSpreadsheetTypeExcel9 should read acSpreadsheetTypeExcel97

Cheers

B.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top