Hi all,
I've pulled together this code from various other posts but something must be wrong as it's not actually moving through the worksheets! I'd welcome anyone's suggestions! Thanks in advance!
I've pulled together this code from various other posts but something must be wrong as it's not actually moving through the worksheets! I'd welcome anyone's suggestions! Thanks in advance!
Code:
Sub Clear_consumption_from_CheckingTool()Dim sh As Worksheet
For Each sh In ActiveWorkbook.Worksheets
Select Case sh.Name
Case Is = "Sheet 1", "Sheet 2", "Sheet 3"
Case Else
Range("D4:BA40,D48:BA84").Select
Selection.ClearContents
End Select
Next sh
End Sub