L
LJG
I have the following code that merges data from a form into a word document,
but for some reason it keeps printing 2 copies instead of just the one.This
is my code:
objword.ActiveDocument.PrintOut Background:=True
objword.ActiveDocument.PrintOut , , , , , , , 1
objword.ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
All seems ok, I have tried to set the value to 0 but I get a message
telling me I need to chose a number
Any tips welcome
but for some reason it keeps printing 2 copies instead of just the one.This
is my code:
objword.ActiveDocument.PrintOut Background:=True
objword.ActiveDocument.PrintOut , , , , , , , 1
objword.ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
All seems ok, I have tried to set the value to 0 but I get a message
telling me I need to chose a number
Any tips welcome