How do I init a variable defined in the Options Explicit area?

B

BearMarquez

I defined a variable in the Options Explicit area but I need it set to an
initial value to it. This is in WORD 2007 VBA code.
 
E

Edward Thrashcort

Can't you declare the variable as Public then set it at the beginning of the
first piece of code that runs in your application. eg the autorun macro



Eddie
 
Top