View Full Version : VBA Page on UserForm Control


MGumbrell
07-10-2008, 03:53 AM
I have a UserForm1 on it is a Multipage2. On the Multipage2 I have a Page9

What I would like to do.
When OptionButton1 is checked I would like Page9. Enabled = False
This code comes up with an error.

Can you please advise where I am going wrong.

Regards, Matt

chergh
07-10-2008, 04:22 AM
What is the error?

As a guess try:


Multipage2.Pages("Page9").Enabled = False

MGumbrell
07-10-2008, 06:24 AM
Chergh

It was a runtime error.

Your suggestion works.

Thank you for you assistance.

Matt