Hi
I have the following macro that deletes data in non protected cells of which I want to keep but I also want it to select page called "INSTRUCTIONS" when its run.
Any Ideas?
I have the following macro that deletes data in non protected cells of which I want to keep but I also want it to select page called "INSTRUCTIONS" when its run.
Any Ideas?
VBA Code:
Private Sub Workbook_Open()
Dim ws As Worksheet
Dim cl As Range
For Each ws In ActiveWorkbook.Sheets
For Each cl In Sheets(ws.Name).UsedRange.Cells
If cl.Locked = False Then
cl.ClearContents
End If
Next cl
Next ws
'
End Sub