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

Access table export to *.csv

Status
Not open for further replies.

exRP12Nuke

Technical User
Oct 5, 2011
49
0
0
US
Hello,

I am trying to export a table to a specific spot on a server in *.csv format, and I am not having any luck with my VBA. Here is my line of VBA for the export routine.

Code:
    DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel12, "tblImportUsageReading", _
    "\\CASPERSVRFS\Data\EMS\Product Support\Contracts\Contract Billing Hours\AMT Usages\ImportUsageReading_" _
    & Format(Date, "yyyymmdd") & ".csv", True

Do I need a different Excel Type, where am I going wrong?

Thanks!
 
Use the DoCmd.TransferText acExportDelim, ... method instead.

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top