How to always open .doc documents in "Print layout"?

C

Camille Petersen

As far as I know inside a .doc document (from Word2003) always the initial view
(e.g. "normal", "print Layout", "Reading layout",...) is stored as well.
Ok, I can switch it manually through the "View" menu but this is rather
inconvenient.

How can I tell Word2003 to ALWAYS AUTOMATICALLY open a document with "print layout"
and NOT to pay attention to the embedded view layout flag?

Camille
 
G

Graham Mayor

You can control the view with auto macros in normal.dot. The following will
set it to print layout view with 100% zoom, regardless of what the document
thinks it should be. Change the 100 to any preferred zoom level. I have
included also some of the other regular problem fixes, but you can remove
the extra lines if required. The zoom 500 fixes the tiny cursor bug that
sometimes pops up.

See http://www.gmayor.com/installing_macro.htm

Sub AutoNew()
ActiveWindow.ActivePane.DisplayRulers = True
ActiveWindow.ActivePane.View.ShowAll = False
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
With ActiveWindow.View
'**********************
.Type = wdPrintView
'**********************
.Zoom.Percentage = 500
.Zoom.Percentage = 100
.DisplayPageBoundaries = True
End With
End Sub

Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
ActiveWindow.ActivePane.DisplayRulers = True
ActiveWindow.ActivePane.View.ShowAll = False
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
With ActiveWindow.View

'**********************
.Type = wdPrintView
'**********************
.Zoom.Percentage = 500
.Zoom.Percentage = 100
.DisplayPageBoundaries = True
End With
End Sub

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
J

Jay Freedman

Copy and modify the AutoOpen and AutoNew macros from the end of
http://www.gmayor.com/installing_macro.htm. You may not need all of the
settings in those macros, but the one you're interested in is handled by the
lines

With ActiveWindow.View
.Type = wdPrintView

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
H

Herb Tyson [MVP]

You can record an AutoOpen macro that sets the view to print layout. You
would need to replicate that macro in each template you use, presuming that
you use different templates for different types of documents.
 
S

Stefan Blom

You can use macros to force a certain view setting for all documents. For
example:

Sub AutoNew()
SetView
End Sub

Sub AutoOpen()
SetView
End Sub

Sub SetView()
ActiveWindow.View.Type = 3 'print layout view
ActiveWindow.View. _
Zoom.Percentage = 100 'or specify a different zoom
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top