Adding vertical scrollbar to shape object (textbox)

bradyboyy88

Well-known Member
Joined
Feb 25, 2015
Messages
562
Is there any way to do this using the shape object?

Ie,
Sheets(1).Shapes("textbox").method = verticalscroll

If not what is the best way to approach this as I currently have just been using the shapes object for creating a lot of my textboxes.

Just out of curiosity since I google a lot of stuff related to vba , can I use basically anything from vb in my vba coding? For instance I found this link which lets me define a scrollbar property and define a textbox object but could not get it to work. Just wondering if I should only bee looking up solutions specific to vba in excel and not vb in general as it might use .net?

https://msdn.microsoft.com/en-us/library/system.windows.forms.textbox.scrollbars(v=vs.110).aspx
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,920
Messages
6,122,276
Members
449,075
Latest member
staticfluids

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