Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How does Userform get initialized by this?
Trying to figure out how a Userform gets initialized.
Found that this line of code in a normal module: strINIPath = strLocalDrive & ":\Test.ini" Initializes this Userform. strINIPath and strLocalDrive are Public variables, declared in a normal module and these variables are not used in this Userform. I test like this: Set MainForm = Nothing On Error Resume Next Msgbox MainForm Is Nothing strINIPath = strLocalDrive & ":\Test.ini" Msgbox MainForm Is Nothing The second messagebox will give False. Thanks for any insight in this. RBS |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Form Initialized | Excel Programming | |||
Userform runs other subs when initialized | Excel Programming | |||
ImageList must be initialized | Excel Programming | |||
Excel: VBA userform is shown but not loaded/initialized even though it was first unloaded? | Excel Programming | |||
listbox value not initialized | Excel Programming |