Windows.BreakSideBySide method (Excel)

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.

Syntax

expression.BreakSideBySide

expression A variable that represents a Windows object.

Return value

Boolean

Example

The following example ends side-by-side mode.

Sub CloseSideBySide() 
 
 ActiveWorkbook.Windows.BreakSideBySide 
 
End Sub

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.