Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
BcKarl
 
Posts: n/a
Default I want more than 1 copy when the macro send to printer

I have written a macro that do a mailmerge, my problem is that i want the
user to choose how many copies to print. I have the number of copies in a
variable.

"numcopies = system.privateprofilestring(inifil, "startup", "numcopies") "

How can i put in ".copies:=numcopies" in my codeexample below?
Or are there any better/other solution?

"
With ActiveDocument.MailMerge
.Destination = wdSendToPrinter
.SuppressBlankLines = True
With .DataSource
.FirstRecord = wdDefaultFirstRecord
.LastRecord = wdDefaultLastRecord
End With
.Execute Pause:=False
End With
"

Thanks in advance.
 
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
faxing from word 2003 mail merge Jo_Wizz Mailmerge 2 January 25th 05 11:31 AM
How do I update Word 2002 to create merged faxes? Imperfect26 Mailmerge 1 January 16th 05 08:10 AM
How do I send printer ESC codes from a Word document jimmyl Microsoft Word Help 1 January 8th 05 07:48 PM
2000 to 2002 macro and "Could not open macro storage" Art Farrell Mailmerge 1 December 6th 04 12:40 PM
How do I remove the send a copy to tools on the toolbar in MS wor. wordmaster Microsoft Word Help 1 December 2nd 04 04:44 PM


All times are GMT +1. The time now is 07:19 AM.

Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"