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

Transfer spreadsheet statement using .csv file 1

Status
Not open for further replies.

fogal

Technical User
Joined
Aug 20, 2001
Messages
87
Location
US
Can you use the transfer spreadsheet to save a file as a .CSV file. If so, what spreadsheet type to put in the code???????

Thanks in advance
 
Sure can. It's really a function of the export process more than anything else..when you use the TransferText method with the acExportDelim option, Access will automatically comma-separate values, and quote-enclose any with embedded spaces.

.TransferText acExportDelim, , {some table name},"C:\MYSTUFF.CSV"

The CSV style is nothing special - you can even save a file as "FatFatFanny.FOO" , and it will be comma-separated. Excel might not see it, but it will indeed be Comma Separated.. :)

Jim






If at first you don't succeed, skydiving probably isn't for you!
Another free Access forum:
More Access stuff at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top