Hi all. I would like to call a subroutine only if a cell on the active sheet is not empty.
So far I have tried the following:
Range("A2").Select
If R1C1 <> """" Then Call Subroutinename
If A2 <> """" Then Call Subroutiename
If LEN(R1C1) > 0 Then Call Subroutinename
None of them work. Either the sub runs all the time or never runs.
So far I have tried the following:
Range("A2").Select
If R1C1 <> """" Then Call Subroutinename
If A2 <> """" Then Call Subroutiename
If LEN(R1C1) > 0 Then Call Subroutinename
None of them work. Either the sub runs all the time or never runs.