PDA

View Full Version : Global Variable



markh1182
07-28-2008, 08:38 AM
How do you set up a global variable so the value can be set in the BeforeSave class event and then be re-used and picked up from the DocumentOpen class event?

Oorang
07-28-2008, 10:45 AM
Don't need a global for that. You just need a private module level variable. At the top of the module just put:Private m_strMyVar As String
That variable should be available to both procedures.