Re: Print options automation
- From: "Doug Robbins - Word MVP" <dkr@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 4 Feb 2009 09:00:17 +1000
Dialogs(wdDialogFilePrint).Show
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"DrewB" <DrewB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E5C0D6D0-2F8F-4F31-994E-7E3912FFF9DB@xxxxxxxxxxxxxxxx
Works perfect, I used the FilePrint and PrintDefault command names. I use
me.printout to get the doc to just print, if I want to open the print
dialog
box is there a command for that?
"Doug Robbins - Word MVP" wrote:
If you create a macro with the name of one of Word's built in commands,
that
macro will run in place of that command. Therefore, if you name the
macro
FilePrint and in it you insert the necessary commands to disable the
printing of drawing objects, then print out the documnet, then reinstate
the
printing of drawings objects, you will have achieved what you are after.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
"DrewB" <DrewB@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:792FBD70-CF48-42AC-BEDC-DDB1939DBEEB@xxxxxxxxxxxxxxxx
I have a document with many Drawing Objects in it and I don't want them
to
print. I would like to find a way to have the printing of the Drawing
Objects disabled when the document is printed and then have them
re-enabled
immediately after. I have successfully used a VB module to disable the
printing of the objects by using the DocumentBeforePrint event however
I
have
not figured out how to re-enable it after the print. I don't want to
wait
until the document closes to change the property back does anyone have
an
idea?
.
- References:
- Print options automation
- From: DrewB
- Re: Print options automation
- From: Doug Robbins - Word MVP
- Re: Print options automation
- From: DrewB
- Print options automation
- Prev by Date: Re: writing WORD form data to EXCEL using VBA
- Next by Date: Need a Word VBA program
- Previous by thread: Re: Print options automation
- Next by thread: print data received from external serial device to printer via O20
- Index(es):
Relevant Pages
|