Any variables you declare at the top of your code module (i.e. before any subs) will be available to all subs in that code module. See, for example: https://www.msofficeforums.com/148491-post2.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|