How to open an external file from a combo box witha command button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iamdennis
    New Member
    • Jan 2008
    • 2

    How to open an external file from a combo box witha command button

    Hi all.

    I stuck here and need some help. I have created a combo box which contains a list of links to external PDF files. I also created a OPEN command button next to the combo box. I want to be able to select a file from the list and use the command button to open this external PDF file.

    I already know how to use just a command button to open an external file. However, it is very time consuming to use command buttons when you have alot of external file to open.

    Does anyone know what I need to do to get this done?

    Thanks in advance.
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    Originally posted by iamdennis
    Hi all.

    I stuck here and need some help. I have created a combo box which contains a list of links to external PDF files. I also created a OPEN command button next to the combo box. I want to be able to select a file from the list and use the command button to open this external PDF file.

    I already know how to use just a command button to open an external file. However, it is very time consuming to use command buttons when you have alot of external file to open.

    Does anyone know what I need to do to get this done?

    Thanks in advance.
    Hey there, iamdennis!

    I wonder if the VBA code written by Access to grab word docs can help you load PDF docs.

    Add a command button to a form, with your wizard turned on and find the Open word, or something of that nature, anything that'll load word docs... See if you can load a PDF using that code.

    To tell you the truth I have no idea of the outcome, I just don't see why not.

    Make a copy of the PDF:-)

    Also, let us know how it turns out...

    Dököll

    Comment

    • iamdennis
      New Member
      • Jan 2008
      • 2

      #3
      Originally posted by Dököll
      Hey there, iamdennis!

      I wonder if the VBA code written by Access to grab word docs can help you load PDF docs.

      Add a command button to a form, with your wizard turned on and find the Open word, or something of that nature, anything that'll load word docs... See if you can load a PDF using that code.

      To tell you the truth I have no idea of the outcome, I just don't see why not.

      Make a copy of the PDF:-)

      Also, let us know how it turns out...

      Dököll
      Hey, I tried that but still no success!

      Comment

      Working...