Results 1 to 7 of 7

Print a PDF document from Userform Command Button

Threaded View

  1. #1
    Registered User
    Join Date
    09-10-2009
    Location
    Brighton,England
    MS-Off Ver
    Excel 2003
    Posts
    44

    Print a PDF document from Userform Command Button

    HI,

    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
    Attached Files Attached Files
    Last edited by msommerf; 10-20-2009 at 11:29 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1