Hi Team,
Is there a way to shorten this code used in if condition.
If Sheet1.Cells(i, 1).Value = "Green" Or Sheet1.Cells(i, 1).Value = "Red" Or Sheet1.Cells(i, 1).Value = "Blue" Then
like If Sheet1.Cells(i, 1).Value = Array("Green", "Red", "Blue") Then
Thanks in advance
Regards,
mg
Is there a way to shorten this code used in if condition.
If Sheet1.Cells(i, 1).Value = "Green" Or Sheet1.Cells(i, 1).Value = "Red" Or Sheet1.Cells(i, 1).Value = "Blue" Then
like If Sheet1.Cells(i, 1).Value = Array("Green", "Red", "Blue") Then
Thanks in advance
Regards,
mg