Interrogate VBA CodeModule

  • Thread starter Thread starter Brad Pitt via OfficeKB.com
  • Start date Start date
B

Brad Pitt via OfficeKB.com

I like to be able to use code to interrogate every line in my VBA CodeModules,
search for occurrances of certain commands and replace them with amendments.
For example I would like to change every occurrence of ' ..... .Protect
password:="password1"' with to ' ..... .Protect password:="password2"'.

Can anyone tell me how to do this?
 
Brad Pitt via OfficeKB.com said:
I like to be able to use code to interrogate every line in my VBA
CodeModules, search for occurrances of certain commands and replace
them with amendments. For example I would like to change every
occurrence of ' ..... .Protect password:="password1"' with to ' .....
.Protect password:="password2"'.

Can anyone tell me how to do this?

news://msnews.microsoft.com/microsoft.public.outlook.program_vba is the
proper group in which to ask.
 
Back
Top