I wanted to find and replace the word AAA with the word BBB on all worksheets in my workbook.
Should I use the "Selection" arguement or should I be using something else?
<Code>
Selection.Replace What:="AAA", Replacement:="BBB", LookAt:= _
xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
</Code>
Thanks
Sam
Should I use the "Selection" arguement or should I be using something else?
<Code>
Selection.Replace What:="AAA", Replacement:="BBB", LookAt:= _
xlPart, SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False
</Code>
Thanks
Sam
Last edited: