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.
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.