I am trying to automate the cleaning of a worksheet template to create a flat file for database insertion.
Below is my code that's throwing the error. I am trying to unfreeze panes for the worksheet but keep getting the Compile Error: Method or Data Member not found error on that line.
wsPerm is the worksheet I am working on.
'Unhide All Columns
wsPerm.Unprotect Password:="DRP"
wsPerm.Range("A1:FB1").EntireColumn.Hidden = False
wsPerm.FreezePanes = False
wsPerm.Activate
ActiveWindow.FreezePanes = False
wsPerm.Cells.UnMerge