Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 01-20-2016, 10:22 PM
macropod's Avatar
macropod macropod is offline Word View isn't working Windows 7 64bit Word View isn't working Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

Your profile says you're using the same Word version and OS as me, but it's clear from your screenshot you're not using Word 2010. That explains why you don't see the 'One Page' option. Please correct your profile.

That said, the following macros, added to your Normal template's 'ThisDocument' module, should take care of the display issues for any documents you subsequently open/create. As coded, the macro zooms the document to whichever is the lesser of the nearest 10% zoom increment that fits the screen and the preferred zoom, which is managed by the line:
Const lZoom As Long = 110
This sets the preferred zoom % to 110%. If you prefer something else, change the 110 to suit.
Code:
Private Sub Document_New()
Call Document_Open
End Sub
 
Private Sub Document_Open()
'Preferred zoom %
Const lZoom As Long = 110
With ActiveWindow
  'Ignore any errors
  On Error Resume Next
  'Reduce flickering while changing settings
  .Visible = False
  'Switch to a single view pane
  .View.SplitSpecial = wdPaneNone
  'Switch to Normal mode
  .View.Type = wdNormalView
  With .ActivePane.View.Zoom
    'Set for a 1-page view
    .PageColumns = 1
    'Initialize for best fit
    .PageFit = wdPageFitBestFit
    'Round down to nearest 10%
    .Percentage = Int(.Percentage / 10) * 10
    'Test zoom % and reduce to 120% max
    If .Percentage > lZoom Then .Percentage = lZoom
  End With
  'Switch to Print Preview mode
  .View.Type = wdPrintView
  With .ActivePane.View.Zoom
    'Set for a 1-page view
    .PageColumns = 1
    'Initialize for best fit
    .PageFit = wdPageFitBestFit
    'Round down to nearest 10%
    .Percentage = Int(.Percentage / 10) * 10
    'Test zoom % and reduce to 120% max
    If .Percentage > lZoom Then .Percentage = lZoom
  End With
  'Display the Rulers
  .ActivePane.DisplayRulers = True
  'Restore the window now that we're finished
  .Visible = True
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2013 view settings no longer working languageservicesco Outlook 0 10-28-2015 05:25 PM
Word View isn't working trouble with formating between print view and outline view johndill Word 2 10-17-2014 06:32 AM
non working day view mijam Project 1 03-29-2014 10:52 AM
Contact view filter not working gebobs Outlook 2 03-10-2014 06:28 AM
How can I fix a print view problem that causes it to stop working.. Excel 2007, Vista birdie123 Excel 0 08-18-2012 12:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:49 PM.


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