Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F2,"(",""),")"," "),"-","")
Look in the vba help index for REPLACE. Or, do an manual one for ( and for ) and for - while recording. -- Don Guillett Microsoft MVP Excel SalesAid Software "Mudbug" wrote in message ... I need the same thing--remove spaces from phone numbers-I removed all the ( ) and dashes. I don't understand the response below. I tried pasting the below formula in the fx box, but nothing happened. I have Excel 2007. TIA Mudbug "Allllen" wrote: You don't need VBA Just use =SUBSTITUTE(A1," ","") -- Allen "Tromp" wrote: Hi! I need the vba-formula to remove the spaces between phone numbers. 999 99 999 99999999 9 999 9999 99999999 99 99 99 99 99999999 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I remove all spaces in a text string | Excel Discussion (Misc queries) | |||
Remove trailing spaces from multiple columns in Excel | Excel Worksheet Functions | |||
how to remove spaces in a middle of a cell example '25 566 589. | Excel Discussion (Misc queries) | |||
Remove Leading Spaces | Excel Discussion (Misc queries) | |||
remove spaces in text in excel | Excel Discussion (Misc queries) |