I have a function within MS Access that automatically creates an Excel spreadsheet. Then I have it automatically create a PDF with the following code:
SendKeys pdf_file_name & "{Enter}", False
xlWrkbk.PrintOut Copies:=1, ActivePrinter:="Acrobat Distiller on Ne00:", Collate:=True
The "SendKeys" appears to cause some problems. Does anyone know of another way to create a PDF without using "SendKeys"?
SendKeys pdf_file_name & "{Enter}", False
xlWrkbk.PrintOut Copies:=1, ActivePrinter:="Acrobat Distiller on Ne00:", Collate:=True
The "SendKeys" appears to cause some problems. Does anyone know of another way to create a PDF without using "SendKeys"?