Deleteing a worksheet
I am looking at a particular cell (E5) and if the word Total is in there I
want it to delete the worksheet.
Not sure why the following code doesn't work. Seemd fairly straight forward.
If Sheets("Baton Rouge").Cell(5, 1) = "TOTAL" Then
Sheets("Baton Rouge").Delete
End If
Thanks,
Kevin Porter
|