ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Horizontal aligning of more than 1 excel sheets (https://www.excelbanter.com/excel-programming/281551-horizontal-aligning-more-than-1-excel-sheets.html)

Sachin[_2_]

Horizontal aligning of more than 1 excel sheets
 
Hi,

Suppose I have 3 excel workbooks A,B,C that are currently
open.
Now, I want that on click of a particular button in
Sheet 'A', my workbook A & B should tile horizontally.
The code that has been written is :

Application.Windows.Arrange
ArrangeStyle:=xlArrangeStyleHorizontal

But what this does is aligns ALL 3 A,B,C workbooks
horizontally whereas I wanted only A,B to align
horizontally.

Any hints as to how to achieve it ???

Regards
Sachin

Tom Ogilvy

Horizontal aligning of more than 1 excel sheets
 
Minimize C before you issue the command. (with code).

--
regards,
Tom Ogilvy

"Sachin" wrote in message
...
Hi,

Suppose I have 3 excel workbooks A,B,C that are currently
open.
Now, I want that on click of a particular button in
Sheet 'A', my workbook A & B should tile horizontally.
The code that has been written is :

Application.Windows.Arrange
ArrangeStyle:=xlArrangeStyleHorizontal

But what this does is aligns ALL 3 A,B,C workbooks
horizontally whereas I wanted only A,B to align
horizontally.

Any hints as to how to achieve it ???

Regards
Sachin





All times are GMT +1. The time now is 12:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com