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

.csv format for Access table data

Status
Not open for further replies.

Nene75

Programmer
Feb 27, 2003
138
US
hi everyone,

I am using MS Access 2000.

Is there a way to convert Access table into .csv (comma seperated Values) format using Macro or VBA?

Any help provided would be appreciated.

Thanks!
 
Hi,

You can export a table to csv format using the TransferText comand.

eg.

DoCmd.TransferText acExportDelim, , "tblName", "C:\Test.csv"

Exports table 'tblName' to 'C:\Test.csv' as comma delimited. See Access Help on TransferText for more information.



There are two ways to write error-free programs; only the third one works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top