Jun 27 2019 10:48 AM
Jul 12 2019 08:56 AM
@jimmyg123 How's this:
Sub DelSheets() Dim ws As Worksheet Dim i As Long For Each ws In ActiveWorkbook.Worksheets If Application.WorksheetFunction.CountA(ws.Range("21:1048576")) = 0 Then Application.DisplayAlerts = False ws.Delete i = i + 1 Application.DisplayAlerts = True End If Next ws MsgBox i & " sheets were deleted", vbOKOnly + vbInformation, "Sheets deleted" End Sub