Solved

Create multiple multi-select drop downs in Excel

Posted on 2013-01-14
3
317 Views
Last Modified: 2013-01-15
Hello,
I am trying to set up a drop-down box in multiple columns in an Excel worksheet. I have used this link to create this for one column and it works great.  

http://blog.contextures.com/archives/2011/04/29/how-to-set-up-multiple-selection-excel-drop-down/

I would like to use it for more than one column in the same worksheet. Is this possible? I am not a coder, but I tried modifying it to make it work for multiple columns and could find no syntax that worked. Is this possible and if so, how do I modify the code? Thanks!
0
Comment
Question by:janicet123
3 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 38777656
Hi,

yes this should be possible. Without having your workbook I must code blind.

Assuming that you want to use this in your worksheet on columns
A - D - E and G (4 columns) then the related part of the code should look like
If Target.Column = 1 OR Target.Column = 4 OR Target.Column=5 OR Target.Column = 7 Then 

Open in new window


which is
Column A -> Target.Column = 1
Column D -> Target.Column = 4
Column E -> Target.Column = 5
Column G -> Target.Column = 7

HTH
Rainer
0
 
LVL 29

Expert Comment

by:gowflow
ID: 38777686
Did the reply suggested helped you in any way or you need more help ? If yes then can you please post the workbook that you worked on on 1 column so we can take it from there ?
gowflow
0
 
LVL 7

Author Closing Comment

by:janicet123
ID: 38779288
This was perfect! Thank you so much - just what I needed!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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