Checking when target.values are empty. What am I doing wrong?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following code

If Target.Offset(0, 0).Value > Target.Offset(-1, 0).Value And _
Target.Value Is Not Empty And _
Target.Offset(0, 1).Value Is Not Empty And _
Target.Offset(0, 2).Value Is Not Empty And _
Target.Offset(0, 3).Value Is Not Empty And _
Target.Offset(0, 4).Value Is Not Empty And _
Target.Offset(0, 5).Value Is Not Empty And _
Target.Offset(0, 6).Value Is Not Empty Then
 
If Target.Value > Target.Offset(-1, 0).Value and _
application.counta(Target.Resize(1,7)) = 7 then
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top