M
mark1
I don't understand why this won't clear the contents of
each sheet all at once. It only does the active sheet.
Help is appreciated.
Sub ClearMyCells()
For Each Worksheet In Workbooks
For Each c In [A1
80]
If c.Interior.ColorIndex = 34 Then
c.ClearContents
End If
Next
Next
End Sub
each sheet all at once. It only does the active sheet.
Help is appreciated.
Sub ClearMyCells()
For Each Worksheet In Workbooks
For Each c In [A1
If c.Interior.ColorIndex = 34 Then
c.ClearContents
End If
Next
Next
End Sub