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

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Are you sure you're using a label? The Textbox has a scrollbar property, but I don't recall the Label having one.
 
Upvote 0

Forum statistics

Threads
1,214,534
Messages
6,120,084
Members
448,943
Latest member
sharmarick

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
Back
Top