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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
58,374
Office Version
  1. 365
Platform
  1. Windows
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.
 

Forum statistics

Threads
1,136,990
Messages
5,678,979
Members
419,796
Latest member
doctorgresham

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