hutteto Posted June 25, 2009 Posted June 25, 2009 I have one instance of Microsoft Excel running that contains 1 or more workbooks, and within this instance of Excel I open another workbook from a hyperlink on a webpage. When I click this hyperlink, the workbook opens in this Excel application, but it restores all the workbooks to not be maximized. Clarification: The Excel applications remains maximized, just the workbooks within the appplication are not maximized. I am able to reference any or all workbooks of my choice, but what I cannto do is maimize them. How do I do this? Thanks
sb1920alk Posted June 25, 2009 Posted June 25, 2009 I have one instance of Microsoft Excel running that contains 1 or more workbooks, and within this instance of Excel I open another workbook from a hyperlink on a webpage. When I click this hyperlink, the workbook opens in this Excel application, but it restores all the workbooks to not be maximized. Clarification: The Excel applications remains maximized, just the workbooks within the appplication are not maximized.I am able to reference any or all workbooks of my choice, but what I cannto do is maimize them.How do I do this?ThanksNot elegant, but you could send Alt, then send left arrow, then send x
PsaltyDS Posted June 25, 2009 Posted June 25, 2009 (edited) Try: Global $xlMaximized = -4137 $oExcel.Application.Activewindow.WindowState = $xlMaximized Edit: Forgot .Application in the object path. Edited June 25, 2009 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now