Initializing a Form with multiple forms embedded

B

bforster1

I am having trouble initializing forms embedded in a single userform.
Specifically, UserForm12 has a MultiPage Form embedded in it. The code
to execute initialization is

Private Sub UserForm12_Initialize()

Do I need to have a seperate execution for each page in the embedded
MultiPage form.

This is what I tried but it did not work

Private Sub UserForm12.MultiPage1.Page1_Initialize()

Any suggestions??

Thanks.
 
T

Tom Ogilvy

There is only one initialize event and it is named

Private Sub UserForm_Initialize()

regardless of the name of the userform. Within that event you can refer to
the controls on the userform.
 
B

bforster1

Tom:

I made the change to UserForm_Initialize() but now am getting a runtim
424 error Object Required. Any suggestions how to eliminate this o
atleast where in my code the error is?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top