VBA

Moderators: PavlinII
Number of threads: 1614
Number of posts: 3000

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Cell Pull down menu with 'where' condition Posted by techissue2008 on 17 Jun 2008 at 8:03 PM
Hi

I have a worksheet 1, it has 5 columns.

(A)
Team A
Team B
Team C
Team D
.....
(B)
Team E
Team F
Team G
Team H
.....
(C)
87:90
78:88
90:92
85:89
.....
(D)
2005
2005
2005
2006
.....
(E)
Round 1
Round 1
Round 1
Round 2

It means Team A vs Team E, score result 87:90 in year 2005.

In worksheet 2, I want to show 2 cell pull down menus in (A) row
(1) Team in (A)
(2) Year in (D)

When I choose All Team and 2005, it will show the result in (A3) row

(A3) Empty (B3) Round 1 (B3) Round 2
(A4) Team A (B4) Team E (87:90)
(A5) Team B (B5) Team F (78:88)
(A6) Team C (B6) Team G (90:92)
(A7) Team E (B7) Team A (87:90)
(A8) Team F (B8) Team B (78:88)
(A9) Team G (B9) Team C (90:92)

How can I code it?

Thanks for help



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.