Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I remove a non-printing character from a cell?
I have a spreadsheet that was saved as a text file from HTML and opened with
excel. I then use Text to Columns to parse the information into cells. However, some lines include a leading non-printing character that screws up the Text to Columns by moving everything on that line over 1 space. How can I remove only that leading non-printing character without changing the spacing the rest of the line? I have tried using CLEAN - but all the spacing is changed. -- JCN |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I remove a non-printing character from a cell?
How about using mid, left and clean
=clean(left(a1, 1)) & mid(A1, 2, 255) -- HTH... Jim Thomlinson "jcnmilton" wrote: I have a spreadsheet that was saved as a text file from HTML and opened with excel. I then use Text to Columns to parse the information into cells. However, some lines include a leading non-printing character that screws up the Text to Columns by moving everything on that line over 1 space. How can I remove only that leading non-printing character without changing the spacing the rest of the line? I have tried using CLEAN - but all the spacing is changed. -- JCN |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
How can I remove a non-printing character from a cell?
Hi,
What about this macro - trimall by David McRitchie Here's the link scroll down to trimall and there are also details of where to put the macro etc http://www.mvps.org/dmcritchie/excel/join.htm#trimall Cheers -- Mifty "jcnmilton" wrote: I have a spreadsheet that was saved as a text file from HTML and opened with excel. I then use Text to Columns to parse the information into cells. However, some lines include a leading non-printing character that screws up the Text to Columns by moving everything on that line over 1 space. How can I remove only that leading non-printing character without changing the spacing the rest of the line? I have tried using CLEAN - but all the spacing is changed. -- JCN |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Remove ' character from copied excel cell to match data | Excel Discussion (Misc queries) | |||
How do I remove a text character from an excel cell? | Excel Worksheet Functions | |||
remove one character from a cell if a condition is met | Excel Discussion (Misc queries) | |||
How to remove or replace a carriage return character in a cell? | Excel Discussion (Misc queries) | |||
How do I remove all text in a cell after a specific character? | Excel Worksheet Functions |