cfdh_edmundo
Board Regular
- Joined
- Nov 9, 2005
- Messages
- 133
Hi,
I have the following code below which works exactly as I want it to:
But now I want to the = Range("D2").Value section.
Instead of if statement running when the value equals cell D2, I would like it to run if the value matches any element of the array feeArray().
I've already defined this feeArray() previously and all of the elements are strings.
Any help would be great!
Thanks!
I have the following code below which works exactly as I want it to:
Rich (BB code):
If Cells(rowCount, 1).Value = Range("D2").Value And Not IsEmpty(Cells(rowCount, 1).Value) Then
Cells(rowCount, 14).Font.Color = vbRed
End If
But now I want to the = Range("D2").Value section.
Instead of if statement running when the value equals cell D2, I would like it to run if the value matches any element of the array feeArray().
I've already defined this feeArray() previously and all of the elements are strings.
Any help would be great!
Thanks!