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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why wont my VBA code for Importing an Execl file work??!!

Status
Not open for further replies.

paychexanalyst

Technical User
Oct 6, 2009
2
US
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, "tblSalesProspects", "\\corpnt02\ens_sh\Financial Risk Management\Risk Analysis\Equifax Automation Project\DSRLDS.xls", True, ""


I've tried to fill in differencnt access versions (i.e. acSpreadsheetTypeExcel8) but everytime I click the import button on my form, nothing happense. what am I doing wrong???
 


hi,

Your best place for MS Access VBA is forum705.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top