Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How to get the screen resolution in VBA
In native VB I get the screen resolution with
Screen.Width \ Screen.TwipsPerPixelX Screen.Height \ Screen.TwipsPerPixelY And if I'd like to position a window at the right bottom corner I can calculate the position with Screen.Width - Me.Width Screen.Height - Me.Height However, 'Screen' doesn't exist in VBA (e.g. Excel). Does anyone know how I can do it in VBA? Stefan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Screen Resolution | Excel Programming | |||
Screen Resolution | Excel Programming | |||
Can't get screen resolution | Excel Programming | |||
Screen Resolution | Excel Programming | |||
Screen Resolution | Excel Programming |