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.
expression A variable that represents a Windows object.
The following example ends side-by-side mode.
Sub CloseSideBySide() ActiveWorkbook.Windows.BreakSideBySide End Sub