Russellbrown
asked on
Excel VBA - Query for Screen Resolution of a Laptop
Hi,
Is there an Excel VBA code that I could query the screen resolution of a laptop ( e.g. 1366 x 768 ) when I fire up a workbook from it ?
Is so, would appreciate your help with the vba code.
Thanks
Is there an Excel VBA code that I could query the screen resolution of a laptop ( e.g. 1366 x 768 ) when I fire up a workbook from it ?
Is so, would appreciate your help with the vba code.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you for the replies.
1) obtaining the screen resolution - that is great and is working fine;
2) I will modfiy / incorporate a code to execute the following:
if resolution is <=800, then me.zoom = 75
if resolution is <=1066, then me.zoom = 85
if resolution is <=1366, then me.zoom = 100 .........
* ( since I am using Excel userforms )
Wll revert with the results.
Many thanks and regards