I have created two identical userforms in MSExcel and MSWord (97). The initialization of the form takes several seconds,so I want to load it at startup of the application, and show it when requested by the user. The userform_initialize routine is called when the form is loaded. In Excel this works fine, in Word it doesn't. When the .show function is called in Word, the initialize routine is called again. userforms.count gives a count of 0.
Can someone tell me if (what) i'm doing (something) wrong?
This is the Word code:
Thank you![/color navy]
Can someone tell me if (what) i'm doing (something) wrong?
This is the Word code:
Code:
[COLOR=blue]Sub[/color blue] AutoExec()
Load ufmWVGadressen
[COLOR=blue]End Sub[/color blue]
[COLOR=blue]Sub[/color blue] AdresInvoegen()
ufmWVGadressen.Show
[COLOR=blue]End Sub[/color blue]