![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I need to create a CSV with double quotes, i can do it by putting a comma in each cell but that seems rather rash just to receive a comma delimited file. I need this for import purposes to a third party data base.
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Denver, Colorado USA
Posts: 4,014
|
It is quite easy to write a csv file with double quotes using VBA I/O rather than saving the file as a csv file type. If you have some familiarity with writing VBA macros you could probably figure out how to do this fairly easily. Look up the keywords Open, Print #, Write #, and Close in the VBA helps.
If you are not familiar with VBA but would like to investigate this, respond back and I will post a bit of code that will write a worksheet in csv file format with the values enclosed in double quotes.
__________________
Keep Excelling. Damon VBAexpert Excel Consulting (My other life: http://damonostrander.com ) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|