• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Opening PDF file from excel dropdown

Kumar M B

New Member
hi Awesome people,

I have a requirement of opening PDF files based on the dropdown selection in Excel. Is there any way i can do it using code or linking the PDFs to the cells? Please reply asap.
I have attached an excel as well as sample PDFs.

thanks in advance.
Kumar
 

Attachments

  • PDF 1.pdf
    79.1 KB · Views: 4
  • PDF 2.pdf
    79.3 KB · Views: 3
  • PDF 3.pdf
    79.4 KB · Views: 0
  • PDF 4.pdf
    79.1 KB · Views: 0
  • PDF_Open.xlsm
    8.2 KB · Views: 4
Try using the Hyperlink function with your PDF files. Make a series of hyperlinks in C2:C5 to replace the text in your drop down list. For example:

URL for first file
URL for second file and so on.

This will give you the drop downs, but the URLs won't work in A2. What you have to do is add a hyperlink in a nearby cell (like the one below your drop down cell). This hyperlink references Cell A2 and will work with the selected link. It would look something like this if you put it in your example sheet in cell a3:

=hyperlink(a2,"Go To File")
 
Last edited:
Back
Top