BreakSideBySide Method

Microsoft Excel Visual Basic

BreakSideBySide Method

Ends side-by-side mode if two windows are in side-by-side mode. Returns a Boolean value that represents whether the method was successful.

expression.BreakSideBySide()

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example ends side-by-side mode.

    Sub CloseSideBySide()

    ActiveWorkbook.Windows.BreakSideBySide

End Sub