Is it possible to freeze top row without activating/selecting the cells/sheets? I just want to specify the Workbook, Sheet and what to freeze on it.
Sheets(1).Activate
With ActiveWindow
.SplitColumn = 0
.SplitRow = 1
.FreezePanes = True
End With
Freeze Window 'Without Activating'
ThisWorkbookmodule paste the following code.