Print Layout window VBA Code

M

MikeE

I am writing a VBA macro for a word template and when I open the document it
comes up in the normal view instead of the print layout view. After the
document is open I can go View - Print Layout but others will be using the
template so I would like it to open automatically in the Print Layout view. I
am using Word 2003. How can I make the document open in Print Layout using
VBA code.

Thanks Mike
 
W

Word Heretic

G'day "MikeE" <[email protected]>,

ActiveWindow.View.Type=wdPrintView

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


MikeE reckoned:
 

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