LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 20
Default Quotes in a csv file

I have an Excel file that i run a marco against and it will save it as a csv
type file (with a different extension). The problem is that some of my cells
have commas in them. When i open the saved file in Notepad, Excel has put
double quotes around any cell values that have commas in them. Other than the
quotes the notepad file looks perfect. Is there a way to get those out of
there? Her is the part of my code that saves the file if that helps any.

ActiveWorkbook.SaveAs Filename:= _
"C:\Documents and Settings\dlefler\Desktop\" & PoId & ".otto",
FileFormat:=xlTextMSDOS, _
CreateBackup:=False
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Double quotes when exporting to tab delimited file jjk98 Excel Discussion (Misc queries) 2 January 13th 10 01:53 PM
change straight quotes to curly quotes callico Excel Discussion (Misc queries) 2 June 22nd 07 10:23 PM
Why Saving a file to a CSV, Excel does not put text into Quotes? Paul Bytes Excel Discussion (Misc queries) 1 January 26th 07 03:59 PM
CSV File with double quotes NavSysEng Excel Programming 2 April 4th 06 05:18 PM
why are there quotes in my exported text file? Gordon Excel Discussion (Misc queries) 2 February 16th 05 06:59 PM


All times are GMT +1. The time now is 09:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"