+ Reply to Thread
Results 1 to 3 of 3

Change Screen Resolution Macro

  1. #1

    Change Screen Resolution Macro

    Hello fellow programmers! I am in need of a macro that changes the
    computer's screen resoultion to 1600x1200. I have read some past posts
    about having columns selected and having the zoom function take care of
    this and some other people's comments about how no program should do
    this...however, I don't care if the screen resolution is changes
    because if I had the macro I could always have it set it back to the
    original size once the workbook is closed. Now I know computers I am
    working with can handle this size resolution and I know it wouldn't be
    a issue if the screen resolution changes on startup...so any help would
    be much appreciated. I am strickly looking for a macro to change screen
    resolution not the zoom aspect of Excel. Thanks! I know I can always
    count on the boards for help...

    -Shaka215


  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259
    Hello Shaka215,

    You will need to use the Windows API to accomplish this. Look at this post at "thescripts" community. It is very well written macro.

    The URL is http://www.thescripts.com/forum/thread13907.html

    Sincerely,
    Leith Ross

  3. #3

    Re: Change Screen Resolution Macro

    Leith,

    Thank you for the URL however, I am an amature at best when it comes to
    VB Code...Would you mind telling me exactly what the code is? I tried
    to make sense of it on my own but got lost once I got into
    "DevM.dmPelsWidth = 1024 'ScreenWidth - could also be 800, etc"...Much
    appreciated. Thanks man!

    Leith Ross wrote:
    > Hello Shaka215,
    >
    > You will need to use the Windows API to accomplish this. Look at this
    > post at "thescripts" community. It is very well written macro.
    >
    > The URL is http://www.thescripts.com/forum/thread13907.html
    >
    > Sincerely,
    > Leith Ross
    >
    >
    > --
    > Leith Ross
    > ------------------------------------------------------------------------
    > Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
    > View this thread: http://www.excelforum.com/showthread...hreadid=561921



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1