ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Long User Form Question. (https://www.excelbanter.com/excel-programming/401608-long-user-form-question.html)

Xman

Long User Form Question.
 
I would like to create a Long User Form (it would have a height greater than
the screen height), but I don't know how to create a User Form with Scroll
Bars that work. I set the form Height to say 1000. I turn on Scroll Bars
Vertical (2) and the form shows a scroll area, but with no slider.

Could someone please tell me what I should do to get a scrolling User Form.

Thanks,
xMan

sebastienm

Long User Form Question.
 
Hi,

The Height represent the userform window height, so it should still be the
regular size. Now, the scrolling area is what you want to set to 1000... the
property is ScrollHeight.

Example:
- Height: 180
- KeepScrollBarVisible: fmScrollBarsBoth
- ScrollBars: fmScrollBarsBoth
- ScrollHeight: 1000

--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"xMan" wrote:

I would like to create a Long User Form (it would have a height greater than
the screen height), but I don't know how to create a User Form with Scroll
Bars that work. I set the form Height to say 1000. I turn on Scroll Bars
Vertical (2) and the form shows a scroll area, but with no slider.

Could someone please tell me what I should do to get a scrolling User Form.

Thanks,
xMan


Xman

Long User Form Question.
 
Thanks ever so much. It makes sence after it is explained. Way to go.
xMan

"sebastienm" wrote:

Hi,

The Height represent the userform window height, so it should still be the
regular size. Now, the scrolling area is what you want to set to 1000... the
property is ScrollHeight.

Example:
- Height: 180
- KeepScrollBarVisible: fmScrollBarsBoth
- ScrollBars: fmScrollBarsBoth
- ScrollHeight: 1000

--
Regards,
Sébastien
<http://www.ondemandanalysis.com


"xMan" wrote:

I would like to create a Long User Form (it would have a height greater than
the screen height), but I don't know how to create a User Form with Scroll
Bars that work. I set the form Height to say 1000. I turn on Scroll Bars
Vertical (2) and the form shows a scroll area, but with no slider.

Could someone please tell me what I should do to get a scrolling User Form.

Thanks,
xMan



All times are GMT +1. The time now is 10:00 PM.

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