Is there a way to set the number of printing copies variably?

C

Confusled

I need to change the number of copies printed in Word from a field in my
data. Is there a way to do this? Or else a way to repeat a record in Excel
based on a number in a field?
 
G

Greg

Say your word field is bookmarked (NumCopies)

Something like:
Sub PrintCopies()
Dim oCopies As Long
oCopies = ActiveDocument.FormFields _("NumCopies").Result
ActiveDocument.PrintOut Copies:=oCopies
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top