Userform scroll bar

M

Michelle

I have put a scroll bar on my userform because it goes below the screen but
it doesn't work. There is no little box in between the arrows on the scroll
bar either. The properties are:
KeepScrollBarsVisible = 2-fmScrollbar
Left = 0
Scrollbars = fmScrollbar
ScrollHeight, Left, Top, Width all = 0

Can anyone help please?
 
M

Michelle

Yes, the Userform goes below the screen, only by about 5cm which is the last
couple of lines of the form. I am using MS Word 2003, XP Professional.
 
M

Michelle

Can anyone help on this one?

--
Michelle


Michelle said:
Yes, the Userform goes below the screen, only by about 5cm which is the last
couple of lines of the form. I am using MS Word 2003, XP Professional.
 
B

Beth Melton

You need to set the ScrollHeight to a value larger than the height of
the form.

Also, should you have additional Word VBA or UserForm questions you're
likely to find you obtain faster responses if you post in one of the
Word VBA groups. :)

Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.

~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP

Word FAQ: http://mvps.org/word
TechTrax eZine: http://mousetrax.com/techtrax/
MVP FAQ site: http://mvps.org/
 
Top