Scrollbars & Userforms

G

Guest

I am new to programming in VB, so I will try to explain this as clearly as
possible.

I created a userform using Visual Basic, but the form is longer than the
size of our monitors. I changed the following properties on the userform:

KeepScrollBarsVisible - set to fmScrollBarsVertical
ScrollBars - set to fmScrollBarsVertical

When I run my macro and the userform appears, I can see the vertical
scrollbar but I cannot actually scroll up and down the screen; thus I am not
able to see the entire form and all of the text boxes, radio buttons, etc.,
which I created.

Can someone tell me what I need to do so I can scroll up and down this form?

Thanks,
Keith
 
H

Harald Staff

Hi Keith

Try setting the ScrollHeight property to a pixel number greater than the
form's height.

HTH. Best wishes Harald
 
G

Guest

Harald -

I tried just about everything else except for that - makes perfect sense!
Thanks very much.

Keith
 

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