Programmatically change screen orientation and/or resolution? RRS feed

  • Question

  • We don't have VB.NET available and I was wondering if it is possible to create VBA code that would change:

    1) screen orientation (and maybe resolution)

    2) on a specific monitor (in a multiple monitor setup; we have two) 

    The idea would be to put it into an Excel workbook and have the macro autorun then exit.

    I see examples for C#.Net but can't find any for VBA. Maybe it's not possible. Your comments are appreciated. Thanks.

    Edit: ANY MS Office application can be used as long as it can be used via a shortcut on the desktop and run automatically. "One click and done" is the idea.
    Thursday, March 12, 2015 1:07 PM


All replies