Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

wokring with mulitple combo boxes.  Need Help.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
techxupport - ExcelForums.com - 08 Oct 2004 23:50 GMT
Today at work I was given a project to do and I sit my by desk an
google for 3 hours and can't found a clue on how to set this up. An
help will be deeply appreciated

The easiest way for me to explain this is using automaker as a
example

Let say there are 3 auto makers
Hond
Nissa
Toyot

Each of them have different model car
Honda: Accord, Civic, Pilo
Nissan: Maxima, Altima, Pathfinde
Toyota: Camry, Corolla, Landcruise

What I want to do is when I select Honda from the first combo box, o
the second combo box will only shows Accord, Civic and Pilot and s
on for the Nissan and Toyota

I've Honda on A1, Nissan on A2 and Toyota on A
Accord on B
Civic on B
Pilot on B
Maxima on B
Altima on B
Pathfinder on B
Camry on B
Corolla on B
Landcruiser on B9

Which Combo box should I use, Form or Control Toolbox Combo box?

Please help
Dave Peterson - 09 Oct 2004 00:48 GMT
Maybe data|validation???

Debra Dalgleish shows how to use dependent lists at:
http://www.contextures.com/xlDataVal02.html

> Today at work I was given a project to do and I sit my by desk and
> google for 3 hours and can't found a clue on how to set this up. Any
[quoted text clipped - 33 lines]
> ---------
> Message sent via  www.excelforums.com

Signature

Dave Peterson
ec35720@msn.com

SeaparkJohn - 10 Oct 2004 22:35 GMT
Hi,

seperate each automaker out into a column and place at the top of the
column.  i.e. toyota goes in K1,Camry in K2,Corolla in k3 and on and on.  
According to the list you placed below, you would now have three columns side
by side.  Name each column by highlighting the column and go to
Insert>Name>Define.  

Use the forms menu to add a group box to your spreadsheet.  Now add an
option button foe each automaker to the group box.  Right click on each
button and select "Assign Macro".  In the macro code write the following:

Columns("E:E").Value = Range("nissan").Value

Where colum e is where you want to place the results of the search.  
"Nissan" is the column of values you want to select.

Repeat the macro for each button in the group box by double clicking.  Leave
the column as E or what ever column to add to, and change the range to equal
the selection.

Hope this helps...

> Today at work I was given a project to do and I sit my by desk and
> google for 3 hours and can't found a clue on how to set this up. Any
[quoted text clipped - 33 lines]
> ---------
> Message sent via  www.excelforums.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.