TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:How to create a macro to modify printing? From:Mark Magennis <markmagennis -at- YAHOO -dot- COM> Date:Thu, 1 Oct 1998 06:53:35 -0700
I want to make sure fields are not updated when my Word97 document is
printed.
My plan is to write a macro that intercepts the normal print command
and sets UpdateFieldsAtPrint to False before opening the print dialog.
I have written the following, but "ActiveDocument.PrintOut" just
prints one copy of the document, rather than opening the Print dialog.
Also, I don't know what to call the macro so that it gets run instead
of the normal print command.
Sub PrintFile()
Options.UpdateFieldsAtPrint = False
ActiveDocument.PrintOut
End Sub
Can anyone help me with this? I've never written in WordBasic.
Mark Magennis | Information Developer
FM Systems Ltd. |
Leopardstown Office Park | Tel: +353 (0)1 295 2549
Foxrock, Dublin 18 | Fax: +353 (0)1 295 2554
Ireland | markmagennis -at- yahoo -dot- com
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com