change the document view to wdWebView : Document View « Word « VBA / Excel / Access / Word






change the document view to wdWebView

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

 








Related examples in the same category

1.changes the view for Sample.doc to Print Layout view
2.Change the document view to wdMasterView
3.Change the document view to normal view
4.Change the document view to print view
5.change the document view to reading view
6.Zooming the View to Display Multiple Pages