PC Review


Reply
Thread Tools Rate Thread

depedent drop down lists

 
 
Bonobo
Guest
Posts: n/a
 
      6th Feb 2008
Hello,
I have two drop down lists (done with Forms) on two seperate worksheets. I
would like them to be dependent so that when I make a selection on one of
them the second one changes accordingly to the same entry (and vice versa).
Can anyone help?
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      6th Feb 2008
And vice versa? Okay, that one threw me a little. Can you give us some
sample data that shows what you are trying to do?

Rick


"Bonobo" <(E-Mail Removed)> wrote in message
news:9A3297D2-C06E-4548-961D-(E-Mail Removed)...
> Hello,
> I have two drop down lists (done with Forms) on two seperate worksheets. I
> would like them to be dependent so that when I make a selection on one of
> them the second one changes accordingly to the same entry (and vice
> versa).
> Can anyone help?


 
Reply With Quote
 
Bonobo
Guest
Posts: n/a
 
      6th Feb 2008
Let's assume: Drop downlist A in Worksheet1 and Drop Down List B in Worksheet2.
Both Drop Down Lists refer to the same list of possible data entry x, y, z.

What I need:
When I select entry x in Drop Down List A, Drop Down List B is automatcially
updated to entry x. If I then change the entry in DropDown List B to z, Drop
Down LIst A should automatically change to z.

Hope this is clear enough.

"Rick Rothstein (MVP - VB)" wrote:

> And vice versa? Okay, that one threw me a little. Can you give us some
> sample data that shows what you are trying to do?
>
> Rick
>
>
> "Bonobo" <(E-Mail Removed)> wrote in message
> news:9A3297D2-C06E-4548-961D-(E-Mail Removed)...
> > Hello,
> > I have two drop down lists (done with Forms) on two seperate worksheets. I
> > would like them to be dependent so that when I make a selection on one of
> > them the second one changes accordingly to the same entry (and vice
> > versa).
> > Can anyone help?

>
>

 
Reply With Quote
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      6th Feb 2008
Okay, I see what you want now. Try putting using this code in the macros you
have assigned to each drop down control...

Sub DropDown1_Change()
Worksheets("Sheet2").DropDowns("Drop Down 2").Value = _
Worksheets("Sheet1").DropDowns("Drop Down 1").Value
End Sub

Sub DropDown2_Change()
Worksheets("Sheet1").DropDowns("Drop Down 1").Value = _
Worksheets("Sheet2").DropDowns("Drop Down 2").Value
End Sub

adjusting the sheet names and drop down names for your actual situation.

Rick


"Bonobo" <(E-Mail Removed)> wrote in message
news:37B33C60-0868-4855-AA81-(E-Mail Removed)...
> Let's assume: Drop downlist A in Worksheet1 and Drop Down List B in
> Worksheet2.
> Both Drop Down Lists refer to the same list of possible data entry x, y,
> z.
>
> What I need:
> When I select entry x in Drop Down List A, Drop Down List B is
> automatcially
> updated to entry x. If I then change the entry in DropDown List B to z,
> Drop
> Down LIst A should automatically change to z.
>
> Hope this is clear enough.
>
> "Rick Rothstein (MVP - VB)" wrote:
>
>> And vice versa? Okay, that one threw me a little. Can you give us some
>> sample data that shows what you are trying to do?
>>
>> Rick
>>
>>
>> "Bonobo" <(E-Mail Removed)> wrote in message
>> news:9A3297D2-C06E-4548-961D-(E-Mail Removed)...
>> > Hello,
>> > I have two drop down lists (done with Forms) on two seperate
>> > worksheets. I
>> > would like them to be dependent so that when I make a selection on one
>> > of
>> > them the second one changes accordingly to the same entry (and vice
>> > versa).
>> > Can anyone help?

>>
>>


 
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
Drop down lists from multiple source lists RoofIL Microsoft Excel Worksheet Functions 3 18th Feb 2010 09:44 PM
one combo box depedent on another desireemm Microsoft Access 1 1st Oct 2009 07:58 PM
HOW TO DO -INPUT FORM WHERE DROP DOWN LISTS OPEN OTHER LISTS TO SE tnahowru Microsoft Access 4 30th Nov 2007 08:57 PM
Drop down lists that auto create and then filter the next drop down list penderyn123@googlemail.com Microsoft Excel Worksheet Functions 2 30th Sep 2007 11:53 AM
Multiple lists with repeated values for dependet drop down lists =?Utf-8?B?bWNtYW51c2I=?= Microsoft Excel Worksheet Functions 1 29th Sep 2006 12:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:22 PM.