changes the view for Sample.doc to Print Layout view : Document View « Word « VBA / Excel / Access / Word






changes the view for Sample.doc to Print Layout view

 

Sub view()
    Documents("Sample.doc").Windows(1).View.Type = wdPrintView
End Sub

 








Related examples in the same category

1.Change the document view to wdMasterView
2.Change the document view to normal view
3.Change the document view to print view
4.change the document view to reading view
5.change the document view to wdWebView
6.Zooming the View to Display Multiple Pages