Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change screen resolution and back to he origial

Status
Not open for further replies.

2009luca

Programmer
Jul 27, 2013
222
IT
I need to check in Auto Open event of workbook if the current screen resolution is 1024*768, if not set 1024*768.
In Close event of workbook, set the orginal/initial screen resolution of the pc suser.

Possible.?
Tks.
 
I have to echo Duane's question, with some stress - I cannot imagine any justification for doing this. Screen resolution, and zoom levels, are USER settings; just because you can change them does not mean you should.

I also note that messing with screen resolutions is very difficult - there are so many possibilities to consider: what do you do if the screen isn't capable of 1024*768? What do you do if the screen is in portrait orientation? What do you do in a multi-monitor set up? What do you do if the user changes the screen resolution while your workbook is open? And so on, and so on, ...


Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top