Hide form page

P

Paul

I have a form with a multipage control.

I want to hide or show the relevant pages dependant on user selections.

How can I hide a page with VBA ?
 
R

Ryan H

For a multiphage control you can use this.

MultiPageName.Pages(0).Visible = False

I'm not sure what pages you want to hide, but you can modify this a little
to suit your macro. Just change the 0 to which ever page you want hidden.

Hope this helps! If so, click "YES" below.
 

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