Consulting

Results 1 to 3 of 3

Thread: Presenting a Pdf File on a user form

  1. #1

    Presenting a Pdf File on a user form

    How do I present a PDF file on a User Form?

    For example if I select part # xyz from a combo box, I want PDF File XYZ.PDF to load on a label or an image box. Please advise.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    I suspect you will have to save your PDFs as a Picture file, JPG, BMP etc.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,911
    Location
    You could use the AcroPDF.dll, Adobe PDF Reader, control.

    If you just wanted page 1, you could insert pdf file as an Object on a Sheet and copy it to an image. There is another method to do this other than saving it as an image file and loading it into a picture control on the userform but it is more involved.

Posting Permissions

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