FreezePanes Property

Applies To

Window Object.

Description

True if split panes are frozen. Read-write.

Remarks

It is possible for FreezePanes to be True and Split to be False, or vice versa.

This property applies only to worksheets and macro sheets.

Example

This example freezes split panes in the active window in BOOK1.XLS.


Workbooks("BOOK1.XLS").Worksheets("Sheet1").Activate
ActiveWindow.FreezePanes = True