Thread
:
Declaring Public variables and accessing in other modules
View Single Post
11-24-2020, 07:39 AM
gmaxey
Windows 10
Office 2016
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,601
The public variable needs to be a standard module. You can set it use Document_Open in the ThisDocument module or you could set it using AutoOpen in the same standard module. You don't need Static anywhere.
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey