Norie,
AA14 has the following: =COUNTA(A13:B72) --- Cells in which the user would fill in job code data (column A) and description of item (Column B).
AA15 has the following: =COUNTIF(P13:P72,">0") --- Cells in which sum the total of the item costs.
If there are no items on the page, or no costs on the page, I want the page to be ignored.
I believe the code you provided would do the job, but would it be better to use this:
Sheets("Item Page No. 1").Activate
If Range("AA14").Value > 0 Or Range("AA15").Value > 0 Then
' do the copy
End If
Sheets("Item Page No. 2").Activate
If Range("AA14").Value > 0 Or Range("AA15").Value > 0 Then
' do the copy
End If
' So on and so forth....
or this:
If Sheets("Item Page No.1").Range("AA14").Value > 0 Or Range("AA15").Value > 0 Then
' do the copy
End If
Definitely not sure on the syntax for the second option but I think you'll know what I mean and know how to fix it.
Any other recommendations?
Bookmarks