Private Sub Workbook_Open()
Dim WB As Workbook
Set WB = ActiveWorkbook
WB.Sheets("Automation").Range("U23:W467").Select
Selection.ClearContents
End Sub
From what I can gather from SO, this code should automatically clear contents in those cells when I open the workbook. However, it doesn't. When I step into the code everything works fine and the cells are cleared.
Any help is appreciated!