ActiveCell

  • Thread starter Thread starter Sandy
  • Start date Start date
S

Sandy

I am trying to achieve

If ActiveCell In Range ("C22:K22,C24:K24") Then

but I require assistance with the correct syntax.

Thanks
Sandy
 
Try something like this:

IF Not Intersect (ActiveCell, Range("C22:K22,C24:K24")) is Nothing THEN

(Not really intuitive, is it?)

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
 
Certainly is not.
Many thanks though Ron.

Sandy

Ron Coderre said:
Try something like this:

IF Not Intersect (ActiveCell, Range("C22:K22,C24:K24")) is Nothing THEN

(Not really intuitive, is it?)

Does that help?
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)
 
Back
Top