Making a Label scrollable with a Scroll bar with User Forms

shy4x4

New Member
Joined
Oct 11, 2005
Messages
34
Hi all,

I have put a lot of data into a Label in a user form and i want the reader to be able to scroll through the information using a Scroll Bar.

I have the scroll bar in the user form however when i run the user form and click on the scroll bar to scroll nothing happens. What is the coding i need to tell the scroll bar to scroll down when someone clicks the down arrow and visa versa.

Private Sub Label1_Click()

End Sub

Private Sub ScrollBar1_Change()

End Sub

That is all I have at the moment. Please help!

Thanks guys,

Jason
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Macropheliac

Board Regular
Joined
Aug 26, 2005
Messages
165
Are you sure you're using a label? The Textbox has a scrollbar property, but I don't recall the Label having one.
 

Forum statistics

Threads
1,141,011
Messages
5,703,723
Members
421,311
Latest member
tanujath

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top