Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2023, 03:49 AM
skarden skarden is offline How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA? Windows 10 How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA? Office 2010 64bit
Novice
How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA?
 
Join Date: Dec 2011
Location: Orlando, FL
Posts: 26
skarden is on a distinguished road
Question How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA?

I have 3 displays: My laptop, and 2 standalone monitors. Because my laptop is only 13” I set its Window’s (not Word’s) zoom level to 125% under the Windows display settings. The other 2 are at 100%

I have created a UserForm the I show modelessly. It contains a ListBox (and, of course, other controls).



Because of the different display percentages I cannot have the Userform or ListBox be as tall on the laptop as on the other 2 monitors.

I want to know the zoom level of the display the Userform is currently in so I can adjust the size of the Userform and size and positioning of all of the UserForm’s elements accordingly. (Since I often drag the Userform to one or the other display depending on what else I happen to have open.)

I’ve searched, and tried, many so-called solutions all over the web, but I have not found any that returns the correct Zoom level for whichever monitor contains the Word active document, let alone for the monitor the Userform is in.

BTW, the “solutions” I have tried involve both low level code and pure VBA code. While I can use them to get the resolution, and pixels, etc., and even the primary monitor’s zoom level, I haven’t found any that returns the laptop’s Windows’ (not Word’s) zoom level (again, while that would be a first step, my ultimate goal is to know the Windows’ display zoom setting for the monitor my UserForm is currently in).

Can anyone help?
Reply With Quote
Reply

Tags
monitor, windows display zoom, word vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tell VBA to remember user's View and Zoom Percentage settings Matt C Word VBA 1 06-01-2021 03:42 PM
Setting default View-Zoom level ewormuth Word 4 06-02-2019 02:49 PM
Change zoom level on Web Browser Control pigsfoot PowerPoint 7 09-04-2018 09:49 AM
Stream from Win 7 computer - three windows to three separate monitors - wireless newbie406 Windows 3 02-23-2015 04:39 PM
How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA? PPT Zoom Level Varies by Computer? mickyjune26 PowerPoint 3 10-07-2014 09:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:02 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft