View Single Post
 
Old 11-11-2013, 02:16 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by b0x4it View Post
This also works for me but just on my laptop with 15.1" monitor. It does nothing on my 27" monitor. How can I relate this code to the size of the screen instead of a fix number (250% in this code)?
Simple! Delete:
Code:
Dim lZoom As Long
and:
Code:
'Get the full-screen zoom
lZoom = .Percentage
'Set zoom % to 250% min
If .Percentage < 250 Then .Percentage = 250
and:
Code:
'Center the page
.ActivePane.HorizontalPercentScrolled = (250 - lZoom) / 5
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote