Solved

MS Excel drop down

Posted on 2014-04-22
11
267 Views
Last Modified: 2014-04-25
On sheet Main Menu, there are many drop down boxes. I need add drop down boxes to F 2000. How can I add more drop down boxes with the following input range Foreman!$B$2:$B$21
 and cell link that changes based on the cell. For example:
F66
F67
F68
F69
Clell-link-update.jpg
P-217---Good-Catch---Near-Miss-P.xlsm
0
Comment
Question by:cssc1
  • 5
  • 4
  • 2
11 Comments
 
LVL 33

Expert Comment

by:Norie
Comment Utility
Instead of droddown controls you could use Data>Validation...

To do that select the range you want the dropdowns in, goto Data>Validation..., select the List option and enter this for the source.

 =Foreman!$B$2:$B$21

The value picked from the data validation dropdown will go in the cell the validation is in, so no need to set the linked cell.
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
You can copy down the controls all the way to 2000 and then run this macro

Sub adddb()
For Each shp In ActiveSheet.Shapes
If Left(shp.Name, 9) = "Drop Down" Then
shp.ControlFormat.LinkedCell = shp.TopLeftCell.Address
shp.TopLeftCell.Select
End If
Next shp
End Sub
0
 

Author Comment

by:cssc1
Comment Utility
The macro locked up see attached image
lockup.jpg
lockup.jpg
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
Comment Utility
How long did you wait? This is a very slow process.
0
 

Author Comment

by:cssc1
Comment Utility
20 MIN
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 33

Expert Comment

by:Norie
Comment Utility
If you used Data>Validation... it would take seconds.:)
0
 

Author Comment

by:cssc1
Comment Utility
what is data validation?
0
 
LVL 33

Expert Comment

by:Norie
Comment Utility
I tried to explain in an earlier post but probably made a bad job of it.

To set up data validation first select your range, F11:F2000, you can do by entering F11:F2000 in the Name box to the right of the Formula bar.

Then click the Datat tab, select Data Validation>Data Validation...

Now in the Allow box select List from the dropdown.

You should now see a box labelled Source which you should enter this in.

 =Foreman!$B$2:$B$21

Finally click OK.

Now you should have dropdowns in each cell of the range F10:F2000.

Whenever you select a value from one of the dropdowns that value will go in the corresponding cell.

Does that help?
0
 

Author Comment

by:cssc1
Comment Utility
Yes, this did work. However, the "Cell Link" box on the "Control" tab of the Format Control screen all say: $F66.

The Cell Link should be equal to the row. For example: F11, F12, F13, F14.....
0
 
LVL 33

Accepted Solution

by:
Norie earned 500 total points
Comment Utility
The data validation replaces the dropdown controls, so remove those controls.

See the attachment, in each cell in F11:F2000 there's a dropdown.
P-217---Good-Catch---Near-Miss-P.xlsm
0
 

Author Closing Comment

by:cssc1
Comment Utility
Your expert help solved my problem.
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now