Re: Changing Code Modules, PLEASE HELP ASAP!! PART 2

Tech-Archive recommends: Fix windows errors by optimizing your registry



Brett,

It would seem to me you need to loop through myFStr to compare with each
value in ReplacecodeInModule the line

If InStr(1, myCode, myFStr(i)) > 0 Then

You say you declare but don't set i. I don't see that in your code.
Unless there is an i declared as a global variable i will be 0 and only
the first value of myFStr will compare. With Option Explicit unless i
is global the compiler would complain about i in ReplacecodeInModule.




*** Sent via Developersdex http://www.developersdex.com ***
.


Quantcast