Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Change by Val like an "If" statement
I would like to do a Change by Value change event like you would an IF
statement in a formula. Here is what I have but I need to add more ifs: Private Sub Worksheet_Change(ByVal TargetCell As Range) If (Range("X4") = "A") Then more code here... (I want to add 6 more of these types of things like: If (Range("X4") = "B") Then more code here...etc. Is it possible to do this and if so how and how do I end it? Thank you. David P. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
embedding "ISERROR" function into an "IF" statement | Excel Worksheet Functions | |||
How to change "automax" to "autosum"? (probablyl wrong terminology) | Excel Discussion (Misc queries) | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
=IF(D13="PAID","YES","NO") Can I change fonts colour | Excel Discussion (Misc queries) |