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 / February 2005

Tip: Looking for answers? Try searching our database.

Setting the on-screen width of templates

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Johann - 18 Feb 2005 16:15 GMT
I have developed a Word XP (2002) template with some macros for generating
photo albums which does everything I want but for one simple thing. When it
loads, it scales the document down so that the whole page fits on the screen.
I want it so that it is a fit to page width. I have tried loading the
template, setting Zoom to page width and saving the template but nothing
changes. It works fine on documents generated from the template. How do I
perform this ridiculously simple operation on a template ?

Signature

John Medhurst

Dave Lett - 18 Feb 2005 17:26 GMT
Hi John,

You can use something like the following:

ActiveWindow.ActivePane.View.Zoom.PageFit = wdPageFitBestFit

You can put this in an AutoOpen routine (maybe an AutoNew routine, too) in
your template.

HTH,
Dave

> I have developed a Word XP (2002) template with some macros for generating
> photo albums which does everything I want but for one simple thing. When it
[quoted text clipped - 3 lines]
> changes. It works fine on documents generated from the template. How do I
> perform this ridiculously simple operation on a template ?
 
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.