Good day fellas,
I was trying to use this
To create an array of the things I want to replace in the string but its actually not working... could you give me a hand
Thanks
I was trying to use this
Code:
Sub Macro1()Dim Arrreplc As Variant
'Making Replacements all at once
Arrreplc = Array("(", ")", " ", "-")
With Range("D2:D9")
.Replace What:=Arrreplc, Replacement:="", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
.NumberFormat = "[<=9999999]###-####;(###) ###-####"
End With
End Sub
To create an array of the things I want to replace in the string but its actually not working... could you give me a hand
Thanks