Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

Print Layout window VBA Code

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MikeE - 06 Jan 2005 01:37 GMT
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
Word Heretic - 06 Jan 2005 22:43 GMT
G'day "MikeE" <MikeE@discussions.microsoft.com>,

ActiveWindow.View.Type=wdPrintView

Steve Hudson - Word Heretic

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

MikeE reckoned:

>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
[quoted text clipped - 4 lines]
>
>Thanks Mike
MikeE - 07 Jan 2005 01:00 GMT
Thanks for your help.
Mike

> G'day "MikeE" <MikeE@discussions.microsoft.com>,
>
[quoted text clipped - 15 lines]
> >
> >Thanks Mike

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.