ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Userform and scroll bars (https://www.excelbanter.com/excel-programming/293856-userform-scroll-bars.html)

KimberlyC

Userform and scroll bars
 
Hi

I have a user form that I have added the vertical scroll bar to by using the
properties.
However , the scroll bar does not work..

Is there something else I need to do??

Thanks in advance!
Kimberly



Tom Ogilvy

Userform and scroll bars
 
Is any of the userform not visible? If not, then there would be nothing to
scroll to.

--
Regards,
Tom Ogilvy

"KimberlyC" wrote in message
...
Hi

I have a user form that I have added the vertical scroll bar to by using

the
properties.
However , the scroll bar does not work..

Is there something else I need to do??

Thanks in advance!
Kimberly





Michel Pierron[_2_]

Userform and scroll bars
 
Hi KimberlyC;
For example:

Private Sub UserForm_Initialize()
' Vertical ScrollBar
Me.ScrollHeight = Me.InsideHeight * 3
' Horizontal ScrollBar
'Me.ScrollWidth = Me.InsideWidth * 3
End Sub

MP

"KimberlyC" a écrit dans le message de
...
Hi

I have a user form that I have added the vertical scroll bar to by using the
properties.
However , the scroll bar does not work..

Is there something else I need to do??

Thanks in advance!
Kimberly





KimberlyC

Userform and scroll bars
 
Hi
I figured it out.. I changed the scroll height to match the form height and
that seemed to work...
"KimberlyC" wrote in message
...
Hi

I have a user form that I have added the vertical scroll bar to by using

the
properties.
However , the scroll bar does not work..

Is there something else I need to do??

Thanks in advance!
Kimberly






All times are GMT +1. The time now is 03:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com