I have a userform from which I need to be able to print a PDF document when the command button is pressed.
User enters the document number in docnum textbox (eg. 123)
On pressing the commandbutton printdoc, I need to be able to print document 123.PDF to default printer
All PDF Documents reside in a network folder mapped to the S:\PDF\drive.
If the document is not found I need to display an error message stating this and return focus back to the textbox.
If the document is found I need to display a message stating document sent to printer.
Is this possible?
Any help appreciated