ColNickFury
New Member
- Joined
- Dec 2, 2008
- Messages
- 5
I am trying to create a MSDOS CSV file anytime the user saves a spreadsheet (i.e. creates a duplicate copy of the data but in a csv file). I used the following command:
ActiveWorkbook.SaveCopyAs "c:\test.csv"
This would allow me to save a CSV file without "modifying" the open workbook\worksheet. But when I attempt to open the csv file in Access, I get garbage. I determined that this is probably do to the file being saved as an "Excel csv" file? What I need is the MS-DOS file type.
The reason behind using the first command was to make sure the user doesn't "know" the file is being created.
Thanks for any help you all can provide.
ActiveWorkbook.SaveCopyAs "c:\test.csv"
This would allow me to save a CSV file without "modifying" the open workbook\worksheet. But when I attempt to open the csv file in Access, I get garbage. I determined that this is probably do to the file being saved as an "Excel csv" file? What I need is the MS-DOS file type.
The reason behind using the first command was to make sure the user doesn't "know" the file is being created.
Thanks for any help you all can provide.