Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find/Replace
I have to remove the dashed from the text that follows. 2-604-E53. My problem
is that when I use find/ replace it converts the text to scientific notation. I have literally hundreds of lines to remove the dashed from. I have tried changing the format to text the doing the find/replace & it still converts the text to scientific notation. If anybody has any ideas it would be much appreciated. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find/Replace
Add an apostrophe to the beginning of the first text cell. You will see
'2-604-E53 in the formula bar, but the apostrophe will not appear in the worksheet. It's a character used to force text formatting on a cell. Use the format painter to apply this format to the rest of the cells containg similar data. Find and replace should then work to remove the dashes... "DP7" wrote: I have to remove the dashed from the text that follows. 2-604-E53. My problem is that when I use find/ replace it converts the text to scientific notation. I have literally hundreds of lines to remove the dashed from. I have tried changing the format to text the doing the find/replace & it still converts the text to scientific notation. If anybody has any ideas it would be much appreciated. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find/Replace
try this
Sub Replacedashwoscientific() Set myrng = Range("M1:M10") For Each c In myrng c.Value = "'" & c Next myrng.Replace "-", "", LookAt:=xlPart End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "DP7" wrote in message ... I have to remove the dashed from the text that follows. 2-604-E53. My problem is that when I use find/ replace it converts the text to scientific notation. I have literally hundreds of lines to remove the dashed from. I have tried changing the format to text the doing the find/replace & it still converts the text to scientific notation. If anybody has any ideas it would be much appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find and Replace - Replace with Blank Space | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
find and replace - replace data in rows to separated by commas | Excel Worksheet Functions | |||
Find/Replace or VBA | Excel Discussion (Misc queries) | |||
find replace cursor default to find box | Excel Discussion (Misc queries) |