Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have some numerical data in a excel worksheet which is downloaded from
another application. By mistake in some of the fields some non numberical characters(Ex: "?") are entered. I want to eliminate "?" character using VBA. Please help. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Columns("E:E").Replace What:="~?", _
Replacement:="", _ LookAt:=xlPart, _ SearchOrder:=xlByRows, _ MatchCase:=False, _ SearchFormat:=False, _ ReplaceFormat:=False -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Raju" wrote in message ... I have some numerical data in a excel worksheet which is downloaded from another application. By mistake in some of the fields some non numberical characters(Ex: "?") are entered. I want to eliminate "?" character using VBA. Please help. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Raju,
Try: '============= Public Sub Tester() Dim rng As Range Set rng = ActiveSheet.UsedRange '<<==== CHANGE rng.Replace What:="~?", _ Replacement:="", _ LookAt:=xlPart, _ SearchOrder:=xlByRows, _ MatchCase:=False End Sub '<<============= --- Regards, Norman "Raju" wrote in message ... I have some numerical data in a excel worksheet which is downloaded from another application. By mistake in some of the fields some non numberical characters(Ex: "?") are entered. I want to eliminate "?" character using VBA. Please help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
match true exact "dd" vs. find next 5th character=y | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
remove last character in a column of part numbers if a "V" | Excel Discussion (Misc queries) | |||
Please add a "sheet" function like "row" and "column" functions | Excel Programming |