Quote:
Originally Posted by Guessed
Just because docNameField is a variable within another sub doesn't make it available to other subs or functions. If you want the same variable to be used across different macros then you have two choices.
|
Thanks so much for this! I guess I'm happy for now that it's working just by using the error handler, but I'll take a look at your code as I can probably make it a lot tidier now. Thanks!