Windows.Arrange(XlArrangeStyle, Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Arranges the windows on the screen.
public object Arrange (Microsoft.Office.Interop.Excel.XlArrangeStyle ArrangeStyle = Microsoft.Office.Interop.Excel.XlArrangeStyle.xlArrangeStyleTiled, object ActiveWorkbook, object SyncHorizontal, object SyncVertical);
Public Function Arrange (Optional ArrangeStyle As XlArrangeStyle = Microsoft.Office.Interop.Excel.XlArrangeStyle.xlArrangeStyleTiled, Optional ActiveWorkbook As Object, Optional SyncHorizontal As Object, Optional SyncVertical As Object) As Object
Parameters
- ArrangeStyle
- XlArrangeStyle
Optional XlArrangeStyle.
- ActiveWorkbook
- Object
Optional Object. True to arrange only the visible windows of the active workbook. False to arrange all windows. The default value is False.
- SyncHorizontal
- Object
Optional Object. Ignored if ActiveWorkbook
is False or omitted. True to synchronize the windows of the active workbook when scrolling horizontally. False not to synchronize the windows. The default value is False.
- SyncVertical
- Object
Optional Object. Ignored if ActiveWorkbook
is False or omitted. True to synchronize the windows of the active workbook when scrolling vertically. False not to synchronize the windows. The default value is False.