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
 

Some videos you may like

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

tactps

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

Watch MrExcel Video

Forum statistics

Threads
1,122,519
Messages
5,596,634
Members
414,082
Latest member
sasmita

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