controlling the Range.Replace method.
Sorry
Office 2003 Professional SP2
--
Tom Casey
Project Supervisor
sanofi-aventis
"T-Casey" wrote:
Thanks in advance,
I have a problem when ttrying to use the range.replace method in excel. If I
have left the find/replace environment in "within" "Workbook" mode and run my
VBA code. The routine will update the entire workbook instead of the selected
range as I would expect.
Is ther a way in VBA to reset the "within" setting to "sheet" prior to
executing the Replace method?
Also, can anyone give a quick explination to Searchformat & ReplaceFormat
parameters to this function. I can only find examples where they are set to
false. And the Microsoft documentation is not very helpful.
--
Tom Casey
Project Supervisor
sanofi-aventis
|