Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Multiple Drop Down List

How do I create a drop down list for selection.

If I want the following in my drop down lists:-
For Column C Row 3 to 7
89901 Blue Strips 1"
89902 Blue Strips 2"
90001 Red Strips 1"
90002 Red Strips 2"

and Column E Row 3 to 7

S0001 XSmall
S0002 Small
S0003 Large
S0004 XLarge

Say if I select 89902 Blue Strips 2" and S0003 Large from Column C and E
drop down lists and only want 89902 and S0003 to appear in the respective
columns.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Multiple Drop Down List

Tiger,

You can use the worksheet change event: copy this code, right-click the sheet tab, select "View
Code" and paste the code in the window that appears.

Private Sub Worksheet_Change(ByVal Target As Range)
If Intersect(Target, Range("C3:C7, E3:E7")) Is Nothing Then Exit Sub
If Target.Cells.Count 1 Then Exit Sub
Application.EnableEvents = False
Target.Value = Left(Target.Value, 5)
Application.EnableEvents = True
End Sub

HTH,
Bernie
MS Excel MVP


"tigermoth" wrote in message
...
How do I create a drop down list for selection.

If I want the following in my drop down lists:-
For Column C Row 3 to 7
89901 Blue Strips 1"
89902 Blue Strips 2"
90001 Red Strips 1"
90002 Red Strips 2"

and Column E Row 3 to 7

S0001 XSmall
S0002 Small
S0003 Large
S0004 XLarge

Say if I select 89902 Blue Strips 2" and S0003 Large from Column C and E
drop down lists and only want 89902 and S0003 to appear in the respective
columns.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple drop down list box tbhakta Excel Discussion (Misc queries) 1 March 14th 07 08:20 PM
Can I set up a multiple selection drop down list? Colder New Users to Excel 4 August 25th 06 06:12 PM
multiple selections from drop down list Andyroo Excel Worksheet Functions 4 August 16th 06 06:39 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
Drop down list with multiple choices Cindy Excel Worksheet Functions 6 March 30th 05 01:35 AM


All times are GMT +1. The time now is 12:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"