Drop Down Button

young engineer

Board Regular
Joined
Mar 3, 2009
Messages
100
Hi All
I want to add a drop down/slider for a particular cell, with a range from 0 to 14, in increments of 0.1.
I am using excel 2007.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Hi, This is a scrollbar (slider) Control from the "View", Toobars", Control Toobox" Menu.
There may be other ways to do this, but this worked for me.
You can do this with or without a userform.
Code:
Private Sub ScrollBar1_Change()
ScrollBar1.Min = 0#
ScrollBar1.Max = 140#
ScrollBar1.SmallChange = 1
[b1] = Format(ScrollBar1.Value / 10, "0.0")
End Sub
Regards Mick
 
Upvote 0
Another option, make a list somewhere on your sheet of the figures you want in a dropdown

ie 0.1 in aa1; 0.2 in aa2 ; 0.3 in aa3 to 14 etc

Then for the cell you want the the dropdown in, use
Data>Validation>drop "Allow" down to list, then highlight you 0.1 to 14 range (0r use that Range's Name)

Not sure if that is completely clear but.................

Mark
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,435
Members
448,961
Latest member
nzskater

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