Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Stripping dashes from a number
Hello All,
I am working with SS #'s that are imported into an excel spreadsheet from a delimited text file. The SS #'s in the text file have dashes that I need to strip. I used the find\replace method in a macro to do this but the problem I run into is that it removes the leading zero in certain SS #'s that have a zero as the first number. I tried changing the cell format to text before stripping the dashes but that did not work. Any suggestions on how I can remove the dashes and keep the leading zeros? Thanks, Rohit Thomas |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to display zero in a number to 1dp e.g. 14.0 without stripping the zero | Excel Discussion (Misc queries) | |||
how to keep all leading zeros when stripping dashes from txt num | Excel Discussion (Misc queries) | |||
Stripping the dashes | Excel Discussion (Misc queries) | |||
Stripping text before a number (alpha or numeric) | Excel Worksheet Functions | |||
Stripping mixed number and text | Excel Worksheet Functions |