Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
is it possible to do a find and replace with one statement using a variable?
for example instead of: Selection.Replace What:="$", Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False Selection.Replace What:="-", Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False is it possible to use Selection.Replace What:=MyChar, Replacement:="", LookAt:=xlPart, _ SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _ ReplaceFormat:=False instead? or can you not assign more than one character to a variable? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and Replace looking for values | Excel Discussion (Misc queries) | |||
Find replace hyperion Values | Excel Discussion (Misc queries) | |||
Find and Replace Values in Range | Excel Programming | |||
How do I use an if statement with Find and Replace | Excel Worksheet Functions | |||
How do I find and replace "values" (like #N/A) in a worksheet? | Excel Discussion (Misc queries) |