Well if you are doing this on a regular basis that's the way to go
and TRIM does not take care of some characters but the macro does
I also included a link on how to install said macro
--
Regards,
Peo Sjoblom
"Shayra" wrote in message
...
Peo,
I don't really understand macros but thanks for replying.
"Peo Sjoblom" wrote:
You can have a macro in your personal.xls and run it instead
http://www.mvps.org/dmcritchie/excel/join.htm#trimall
here's how to install a macro
http://www.mvps.org/dmcritchie/excel/install.htm
--
Regards,
Peo Sjoblom
"Shayra" wrote in message
...
Hi! I want to remove non-printing characters from exported data to save
the
file in a comma delimitted format so I can import it into another
program.
Anyways, I have used =TRIM formula to do so by duplicating the column
of
data and in the "duplicate" column I put the trim formula. For
example,
if
A2 contains the original exported data, I copied the info in B2 and
placed,
=TRIM(A2) in the B2 column. Then I hid the original column (A2) and
saved
it. But when I open the CSV file both my hidden and unhidden columns
show
up.
Since this is the only way I know how to use trim (by duplicating the
original data into another column. MY QUESTION IS: can I use the =TRIM
formula in the original data without making duplicates. And if so how?
When
I try to do this it gives me a circular reference error and the orignal
data
disappears. Help please.