mahmed1
Well-known Member
- Joined
- Mar 28, 2009
- Messages
- 2,302
- Office Version
- 365
- 2016
- Platform
- Windows
Hi - Please advise if this is possible
If i know the screen size of my monitor - say my monitor is 20 x 11.3 (1920 x 1080 screen res) - is there a way i can have a formula in VBA that will give me the height and and width of the excel window if it was maximised?
The reason why i ask is that i have several of screen sizes a user can open this spreadsheet on - i want to change the zoom level depending on what size the spreadsheet was open on but i dont have access to those monitors to exactly what the height and width will be for those dimensions
Is there a way i can find out the height and width of the excel window maximised giving the screen size?
Thank You
If i know the screen size of my monitor - say my monitor is 20 x 11.3 (1920 x 1080 screen res) - is there a way i can have a formula in VBA that will give me the height and and width of the excel window if it was maximised?
The reason why i ask is that i have several of screen sizes a user can open this spreadsheet on - i want to change the zoom level depending on what size the spreadsheet was open on but i dont have access to those monitors to exactly what the height and width will be for those dimensions
Is there a way i can find out the height and width of the excel window maximised giving the screen size?
Thank You