Link to home
Create AccountLog in
Avatar of dailymeat
dailymeat

asked on

Print multiple copies from a Word document from Access

I need to print multiple copies of the same document from Access command button, here is the code that prints a single copy:


Dim LN As Object

Set LN = CreateObject("Word.Application")

LN.Visible = True

LN.Documents.Open ("C:\Access\LotNumber.rtf")

LN.Options.PrintBackground = False

LN.ActiveDocument.PrintOut

LN.ActiveDocument.Close

LN.Quit

Set LN = Nothing

ASKER CERTIFIED SOLUTION
Avatar of Kyle Abrahams, PMP
Kyle Abrahams, PMP
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account