Erik -Deleting row cont.

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

Erik, thanks that worked with my If statements testin if
the input was greater than 6 and =6.

How would I test (If statement) if the first cell in (user
InputRow) "RName" row is blank? I had:

If Cells(RName,0).Value ="" Then
MsgBox "Row is blank"

but this errors w/message: Run-time error 1004:
Application defined or object-defined error.
 
Dan,

Change the 0 to a 1. You can't select column zero in the Cells property:

If Cells(RName,1).Value ="" Then

hth,

Doug Glancy
 

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