redspanna
Well-known Member
- Joined
- Jul 27, 2005
- Messages
- 1,602
- Office Version
- 365
- Platform
- Windows
Hi all
Can this code be changed so that it runs but excludes clearing data in 'Summary' sheet
thanks in advance
Can this code be changed so that it runs but excludes clearing data in 'Summary' sheet
Code:
Sub Clear_All()
Dim a As Long
For a = 1 To Sheets.Count
Worksheets(a).Range("B6:I55,B62:I111").ClearContents
Next a
MsgBox "All data removed"
End Sub
thanks in advance