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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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
Back
Top