PC Review


Reply
Thread Tools Rate Thread

Adding multiple combo boxes to excel cells

 
 
KevinC
Guest
Posts: n/a
 
      27th Jul 2010
Hello all,

I have created a matrix to help me priorities data collection of
different datasets for a project I am working on.

I have the same datasets listed horizontally and vertically so I have
the same number of rows and columns. Within each cell the user the
selects one of the two datasets in the matrix - choosing the dataset
which takes priority.

At the moment the user needs to type in values to complete the form,
what I would like do is have a combo box/drop down box in each white
cell so that there are only two options that the user can select from.
So for example in cell D3 the user could only select Schools or
Churches.

Is there a way that this can be easily in VBA? I have tried to work my
way round this using the Data Validation tool however it will not let
me enter two cells in two different locations.

I have thought that it might be possibleto count back from the active
cell to work out the values that need be added to combo box (using
AddItem?) but can't quite get my head round to how this can be done.

I also looked at the solution herehttp://www.contextures.com/xlDataVal14.html)
however I don't think I can use this as it uses the validation option
(requiring a range) where as I need to enter two list values instead.

Any help that can be given would be appreciated.

Regards,

Kevin
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007- Adding data in multiple cells at the same time G Microsoft Excel Misc 1 22nd Apr 2009 12:25 AM
HELP! Adding multiple combo boxes from different tables iain9996 Microsoft Access Queries 3 16th Mar 2008 09:28 PM
How do I apply a combo box to multiple cells in Excel so that it . =?Utf-8?B?REI=?= Microsoft Excel Misc 1 12th Jan 2005 03:42 PM
Adding the same content to multiple combo boxes keaven Microsoft Excel Programming 3 11th Jun 2004 02:34 PM
Multiple combo boxes or list boxes =?Utf-8?B?VmVl?= Microsoft Access Form Coding 10 3rd Jun 2004 09:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:49 AM.