So I am trying to edit Range on all worksheets except one. So far I came up with this
Sub Test2()
Dim WS As Worksheet
For Each WS In ActiveWorkbook.Worksheets
If WS.Name <> "Summary" Then
Range(Cells(1, 3), Cells(1, 3)) = "test"
MsgBox WS.Name
End If
Next WS
End Sub
It was supposed to put "test" on every worksheet not named Summary in cell C3. Instead it just adds "test" to the active sheet and none of the others. The message box is working fine though. The full project includes editing some cells on each sheet based on a string lenght condition, however I am stuck on editing range on multiple sheets.
Help will be appreciated!