Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resetting Global Variables

Status
Not open for further replies.

Krusher

IS-IT--Management
Jan 2, 2003
70
0
0
US
How can I reset public variables? Or, how do I simply tell VBA to "recompile" everytime the user executes the macro? Thanks in advance.

K
 


Hi,

Write a procedure that initializes the variables in question. Then call this procedure any time you want them "reset".

Skip,
[sup][glasses]Don't let the Diatribe...
talk you to death![tongue][/sup][sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top