D
drthursday
Sub DeleteNonSubcontracts()
Dim wsheet As Worksheet
For Each wsheet In Worksheets
If wsheet.Range("D10:O10") <> "" Then
Else: wsheet.Delete
End If
Next wsheet
End Sub
Is it not possible to call a range the way I did? This code works fine
if I limit the range to one cell --even if it still pops up all those
nasty "Ok to delete this worksheet" messages.
I would really appreciate any ideas or help.
Best,
Amy
Dim wsheet As Worksheet
For Each wsheet In Worksheets
If wsheet.Range("D10:O10") <> "" Then
Else: wsheet.Delete
End If
Next wsheet
End Sub
Is it not possible to call a range the way I did? This code works fine
if I limit the range to one cell --even if it still pops up all those
nasty "Ok to delete this worksheet" messages.
I would really appreciate any ideas or help.
Best,
Amy