word vba to open at specific outline level
I'm not able to figure out how to get my doc to open in print layout view and display only level 1 headings that I have for an outline I made. I figured out how to open it at level 1 heading in outline view but I want it to open at level 1 in print layout view also. I have the following code written but it doesn't seem to be working.
Sub ViewOutlineMaster()
ActiveWindow.View.Type = wdPrintView
ActiveWindow.View.ShowHeading (1)
End Sub
-any help would be greatly appreciated!
|