p10rpc,
You can't declare global variables in a Userform.
Suggest that you have a startup module that sets the global variables then shows the Userform (i.e., Userform1.Show).
Must use the Public declaration rather than simply Dim for the variables to be recognized in both modules and Userforms.
CarlR
|