Equivalent to choosing the Freeze Panes command from the Window menu or clicking the Freeze Panes button.
static int FreezePanes( COL12 col_split, RW12 row_split ); |
specifies where to split the window vertically and is measured in columns from the left of the window.
specifies where to split the window horizontally and is measured in rows from the top of the window.
Zero if the function has been called successfully; non-zero if the function could not be called. See Error codes for a list of return values.
Splits the active window into panes, creates frozen panes, or freezes existing panes. Use FreezePanes to keep row or column titles on the screen while scrolling to other parts of the sheet.
Header: xlfuncs.h
CXlMacros Class | CXlMacros Methods | CXlMacros::UnfreezePanes | CXlMacros::Split