Hi all.
My problem is probably very simple to solve but as i'm new to this sort of thing i'm unable to work it out.
I have a document that I need to print 3 times, each with a different watermark on them. I have recorded some macros to insert the watermark then delete it to be replace with the next one. The code runs fine when run from Visual Basic Editor but when I print the word doc using the print button in the toolbar it just prints 1 page with no watermark. This is what my code looks like:
Private Sub Document_Print()
Macro1
ActiveDocument.Printout, , , , , , , 1
Macro2
Macro3
ActiveDocument.Printout , , , , , , , 1
Macro2
Macro4
ActiveDocument.Printout, , , , , , , 1
Macro2
End Sub
Macro 1,3 and 4 is putting in the watermark and Macro 2 is removing it.
Any help is really appreciated.
My problem is probably very simple to solve but as i'm new to this sort of thing i'm unable to work it out.
I have a document that I need to print 3 times, each with a different watermark on them. I have recorded some macros to insert the watermark then delete it to be replace with the next one. The code runs fine when run from Visual Basic Editor but when I print the word doc using the print button in the toolbar it just prints 1 page with no watermark. This is what my code looks like:
Private Sub Document_Print()
Macro1
ActiveDocument.Printout, , , , , , , 1
Macro2
Macro3
ActiveDocument.Printout , , , , , , , 1
Macro2
Macro4
ActiveDocument.Printout, , , , , , , 1
Macro2
End Sub
Macro 1,3 and 4 is putting in the watermark and Macro 2 is removing it.
Any help is really appreciated.