Have an IF statement which which stops an 'add a row' routine if any cell in the first 11 columns are blank (of the row being checked). However, in my haste, one of the columns that it is checking CAN be blank. How do I modify the IF stement to ignore the 7 column out of the 11 it is checking. It's not a simple OR statement. I figured that one out...
If WorksheetFunction.CountA(Range(myrowchk, _
myrowchk.Offset(0, 11))) < 11 Then
MsgBox "Add Data to Columns A through L before adding a " _
& "new row", vbCritical, "Shop Drawing Summary"
Else
'add a row rountine
If WorksheetFunction.CountA(Range(myrowchk, _
myrowchk.Offset(0, 11))) < 11 Then
MsgBox "Add Data to Columns A through L before adding a " _
& "new row", vbCritical, "Shop Drawing Summary"
Else
'add a row rountine