Hi,
I am trying to have VBA check if the active cell contains the word that is in cell A5 on sheet 2. Here is what I have for my code. But it keeps comming back false. Can any one tell me how else to write this? The Active cell has Apples/red and cell A5 has Apples.
If ActiveCell Like Worksheets("Sheet2").range("A2").Value then
Else
bla bla bla
I am trying to have VBA check if the active cell contains the word that is in cell A5 on sheet 2. Here is what I have for my code. But it keeps comming back false. Can any one tell me how else to write this? The Active cell has Apples/red and cell A5 has Apples.
If ActiveCell Like Worksheets("Sheet2").range("A2").Value then
Else
bla bla bla