Moving between pages in a Multipage on a user form

mdeod

New Member
Joined
Dec 14, 2008
Messages
1
Hi

Looked all over Mr Excel unsuccessfully for an answer to this which is causing me no end of headaches.

I have a user form which contains 5 pages in a multipage. When the required fields are completed in each page, the next page is enabled.

All the people who will be using the form have screen resolutions set to 800 x 600, so I have had to reduce the height of the user form and include a vertical scrollbar (ScrollBars property as 2 - fmScrollBarsVertical and KeepScrollBarsVisible as 2-fmScrollBarsVertical). I then set the ScrollHeight property.

For example, the Height of the user form is 150 and the ScrollHeight is 200.

However, when a user moves to the next page, the middle of the user form is displayed, rather than the top as required.

Can you please explain what I am doing wrong (the code functions as I want so this is more of a user experience issue than a functionality one) - or what I need to do to ensure that the top of the user form is visible rather than the middle (I checked the scrollHeight property and it is 0).

Thanks for all your help.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,223,634
Messages
6,173,477
Members
452,516
Latest member
archcalx

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top