Create a textfile

dempa79

New Member
Joined
Jun 12, 2006
Messages
14
Im working with a textfile, but i have a problem with quotations.

For example in my sheet i got the following data

[KR;62107;2;20060919;125.63;;;N;KR]
[KR;62108;2;20060919;96.30;;;N;KR]

but when i save my data to a textfile i get the qoutations

"[KR;62107;2;20060919;125.63;;;N;KR]"
"[KR;62108;2;20060919;96.30;;;N;KR]"

I use the file for reports at a daily basis and i get around the problem when i paste my data to an txtfile but i want to create a macro that creates the file. Can someone help me?
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Which text format are you trying to save it to (there are different text options)?
Did you try "Formatted Text (Space Delimited) (*.prn)"?
I tried it and it worked for me.
 
Upvote 0

Forum statistics

Threads
1,215,123
Messages
6,123,183
Members
449,090
Latest member
bes000

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