Slider Bar vba

sneel3

Active Member
Joined
Oct 9, 2002
Messages
331
My vba reads like this for a "slider bar" found in the "Control Toolbox" by clicking the "More Controls" icon. I chose "Microsoft Slider Control, version 6.0"

Private Sub Slider1_Click()

End Sub

How do I link this to a cell in a spreadsheet?

I tried:
Range("A1") = Slider1.Value

but that did not work. What am I doing wrong? What am I missing? This is driving me nuts!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

hatman

Well-known Member
Joined
Apr 8, 2005
Messages
2,664
What about

Code:
Private Sub Slider1_Change()

    Range("a1").Value = Me.Slider1.Value

End Sub
 

mrattana

Board Regular
Joined
Sep 30, 2008
Messages
62
Hello,

For Outlook 2003 VBA...

Have a quick question about this vba slider bar thingy. This may sound a bit funny and impossible, but is there a way to have a vba controls your outlook signature - have it move from left to right or vise versa? - or have it dissolved automatically after they open the mail and certain times passed? - I've seen some people's outlook emails with that kind of cool stuff you know...

Thanks people...

Let me know...
 

Forum statistics

Threads
1,141,062
Messages
5,704,046
Members
421,325
Latest member
tapete86

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