Not ideal but use a cell to toggle. If A1 says off it stops (note you may have to double click cell A1 to remove format) then type on in A1 to start
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Range("A1").Value = "off" Then
Cells.Interior.ColorIndex = xlColorIndexNone
ActiveCell.EntireRow.Interior.ColorIndex = 36
Else
ActiveCell.EntireRow.Interior.ColorIndex = xlNone
End If
End Sub
Code only works by sheet so all sheets need the code. You could try putting in thisworkbook (see link)
Which starts when you open
Private Sub Workbook_Open()
VBA Noob
Bookmarks