I have a macro that saves data to an external file. It uses this command:
ActiveWorkbook.SaveAs Filename:=Filename, FileFormat:=xlUnicodeText, CreateBackup:=False
My problem is that most of the data that has been saved is surrounded by double quotes. But few pages are saved without the double quotes.
It is the same macro that saves the data so why do some files not have the double quotes? How can I make all pages save without double quotes?
UPDATE:
Every cell in every sheet contains commas. The data in Excel cells is not surrounded by double quotes. I use Excel to build SQL queries. But, some of the sheets still save to file without double quotes. What sheet setting should I look for, if any?