Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If Target.Text = "Y" Or Target.Text = "y" Then
Gordon Rainsford -- wrote: Why does the OrRstatement for "y" does not work? Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Target.Column = 3 Then If (Target.Text = "Y" Or "y") Then Target.Offset(0, 1).FormulaR1C1 = Now() Target.Offset(0, 2).Interior.ColorIndex = 5 Target.Offset(0, 3).Interior.ColorIndex = 4 End If End If End Sub -- Gordon Rainsford London UK |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions | |||
If..Else Statement in Excel | Excel Programming |