Results 1 to 2 of 2
2001-08-01, 20:37 #1alexandreGuest
getting UserForm to popup (VBA/WORD2000/SR1)
How do I get a combobox within a form to pop up when I create a new document from a template I created?
I placed code to executethe Show method of the UserForm1 in the Document_New event for the template.
I get a debug error on my statement:
Private Sub Document_New()
Ive attached a view of my VBA Project screen...in jpg format.
2001-08-01, 21:46 #2
- Join Date
- Feb 2001
- Dublin, Ireland, Republic of
- Thanked 0 Times in 0 Posts
Re: getting UserForm to popup (VBA/WORD2000/SR1)
From the view of your project and the code, the problem would seem to be that in your code you refer to the Form as frmUserForm1, although in the project window the Form is named UserForm1. Either rename the UserForm to frmUserForm1 or change the code to read UserForm1.