expression.FreezePanes
expression Required. An expression that returns a Window object.
This example creates panes in the active worksheet.
Spreadsheet1.ActiveWindow.FreezePanes = True
Submit feedback about this site to: