![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: Mar 2002
Location: Toronto
Posts: 171
|
Hello folks,
I'd like a check box or pulldown to only appear on the sheet if a certain value is entered into a certain cell. If that certain value is not there, the check box or pulldown disappears. Can this be done, and if so, how? Thanks in advance.
__________________
Regards, Duane (Office2003 in XP) |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Kobe, Japan
Posts: 1,418
|
Hi Duane,
Yes it is possible. To use Worksheet_Change event and Validation property. Let me know the more information about certain value and certain cell and the list you would like to show. I'll make a sample code for you.
__________________
Regards, Masaru Kaji aka Colo - Microsoft MVP Since 2004 Please feel free to visit our forum too. |
|
|
|
|
|
#3 |
|
Join Date: Mar 2002
Location: Toronto
Posts: 171
|
Hi Colo,
Thanks for your response. Ok, suppose I am making a pulldown menu with the input range C1:C3, and in those cells I had: - "Please select" in C1 - "yes" in C2 - "no" in C3 Now, in B1, if I had a formula saying =if(A1="no","Proceed?","") and I want the pulldown to only show up if Proceed is showing, (or, the pulldown only shows up if there is "no" in A1, whichever), how would we do that?
__________________
Regards, Duane (Office2003 in XP) |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Mar 2002
Location: Kobe, Japan
Posts: 1,418
|
Hi Duane,
Just as a sample, pls try this. Right click on the sheet tab, select View Code and Please copy this into there. After paste, pls input A1 cell "Yes" or "No".
Hope this help
__________________
Regards, Masaru Kaji aka Colo - Microsoft MVP Since 2004 Please feel free to visit our forum too. |
|
|
|
|
|
#5 |
|
Join Date: Mar 2002
Location: Toronto
Posts: 171
|
Nifty stuff. It's not EXACTLY what I needed, but it's something to learn.
Thanks much, my friend!
__________________
Regards, Duane (Office2003 in XP) |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|