C
Casey
Noble Gurus and VBA Gods,
I wrote what I thought was a simple procedure to loop through m
spreadsheet, locate any unprotected cells and clear the contents fro
those unprotected cells. Leaving my locked cells alone. The sub doe
what I need it to do, however, it literally took 10 minutes to calc
and task manager said I was at 100% usage. Could someone help me spee
this thing up? Here is the Sub
Private Sub UnlockedCells()
Dim rng As Range
With ActiveSheet
For Each rng In ActiveSheet.UsedRange
If rng.Locked = False Then
rng.ClearContents
End If
Next
End With
End Sub
Many thanks in advance
Case
I wrote what I thought was a simple procedure to loop through m
spreadsheet, locate any unprotected cells and clear the contents fro
those unprotected cells. Leaving my locked cells alone. The sub doe
what I need it to do, however, it literally took 10 minutes to calc
and task manager said I was at 100% usage. Could someone help me spee
this thing up? Here is the Sub
Private Sub UnlockedCells()
Dim rng As Range
With ActiveSheet
For Each rng In ActiveSheet.UsedRange
If rng.Locked = False Then
rng.ClearContents
End If
Next
End With
End Sub
Many thanks in advance
Case