Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Can the screen resolution be changed within VBA?

VBA Experts,

Suppose a user has set the screen resolution to 1024 x 728 pixels,
for example. Can an Excel/VBA program (using API calls) determine
what the resolution is, temporarily change it to 800 x 600 pixels and
then restore it back to whatever it was just before quitting?

-- Dennis Eisen
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Can the screen resolution be changed within VBA?

It can certainly determine it using the API. Changing it would be very bad
behavior. Have you ever used another windows program that changes the
screen resolution. Windows is a multitasking operating system - other
applications share the screen. Also many people have vision impairments -
they may not share your view of the world.

--
Regards,
Tom Ogilvy

"DennisE" wrote in message
...
VBA Experts,

Suppose a user has set the screen resolution to 1024 x 728 pixels,
for example. Can an Excel/VBA program (using API calls) determine
what the resolution is, temporarily change it to 800 x 600 pixels and
then restore it back to whatever it was just before quitting?

-- Dennis Eisen



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Variable screen size, not resolution Molly Excel Worksheet Functions 4 June 7th 08 12:32 AM
Excel 2003 rdp screen resolution Stefan Triep Excel Discussion (Misc queries) 0 October 15th 07 12:45 PM
How to get fixed size for every screen resolution? chartSize Charts and Charting in Excel 0 October 5th 06 03:36 AM
Screen Area Resolution CJ[_4_] Excel Programming 3 December 5th 03 12:37 AM
How to change resolution of monitor/screen Glen Mettler Excel Programming 1 November 19th 03 02:37 PM


All times are GMT +1. The time now is 08:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"