Save sheet as Text file

wdb

New Member
Joined
May 27, 2002
Messages
7
I save the value of some cells as text file, with this statements
Code:
                Sheets(Work_Sheet).Select
                ActiveWorkbook.SaveAs Filename:= _
                    Dir_Out & "\test.txt ", _
                    FileFormat:=xlUnicodeText, _
                    CreateBackup:=False
but if in a cell there is this value:

Created=1999,9,4,18,40,8

once created the text file "test.txt", the value that I can see is:

"Created=1999,9,4,18,40,8"


Why the save operation put the character " at the beginning and at the end of the cell value?

I put the cell format as Text and I work with Excel 2003.

Thank

Wdb
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

tactps

Well-known Member
Joined
Jan 20, 2004
Messages
3,460
Try to save the file as text(tab limited), not unicode text.
 

Forum statistics

Threads
1,181,441
Messages
5,929,932
Members
436,708
Latest member
THEjet31

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top