Specify Number of copies and individual footer for each copy.

J

Josh

I have a document that I need to print exactly 3 copies of. On each copy I
want a different footer, like "Customer Copy", "Our Copy", "File Copy". How
can I do this programatically?
 
G

Greg

Josh,

Put a bookmark in the footer named "Copy"

Run this macro to print:

Sub TriCopy()
Dim Copy As String
Dim i As Integer
Dim rng1 As Range
Set rng1 = ActiveDocument.Bookmarks("Copy").Range
i = 1
For i = 1 To 3
Select Case i
Case Is = 1
Copy = "Customer Copy"
Case Is = 2
Copy = "Our Copy"
Case Is = 3
Copy = "File Copy"
End Select
rng1.Delete
rng1.Text = Copy
ActiveDocument.PrintOut
Next
ActiveDocument.Bookmarks.Add Name:="Copy", Range:=rng1
End Sub
 
J

Josh

Great Thanks,

One more question how can I attach this macro to say the print button?
 

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