kelly mort
Well-known Member
- Joined
- Apr 10, 2017
- Messages
- 2,169
- Office Version
- 2016
- Platform
- Windows
Code:
Sub clearsheets ()
Dim Wsheet As Worksheet
For Each WSheet In Worksheets
Select Case Wsheet.CodeName
Case "Sheet1", "Sheet2","Sheet3"
Case Else
Wsheet.Range(Wsheet.Cells(7, 2), Wsheet.Cells (200, 15)).Select
Selection.ClearContents
End Select
Next
End Sub
This is what I have been using for a while now. But just ran it and get the error at the title of this post.
I need help