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 / Menus and Toolbars / July 2003

Tip: Looking for answers? Try searching our database.

Macro for "print current page"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian - 27 Jul 2003 22:59 GMT
Does anyone know of a macro or shortcut to print only the
current page?

I have a template with lots of fields that only get
updated when I print the current page and I am getting
tired of going to file/print/print current page all the
time. I would like a toolbar button or a macro with a
shortcut key (The template is protected so most of the
toobars go grey and the macros too. - macros with
keyboard shortcuts work though.)

Thanks,

Brian
Doug Robbins - Word MVP - 28 Jul 2003 01:09 GMT
Hi Brian,

Use the following code in a macro:

ActiveDocument.PrintOut Range:=wdPrintCurrentPage

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
> Does anyone know of a macro or shortcut to print only the
> current page?
[quoted text clipped - 10 lines]
>
> Brian
 
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.