By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,122 Members | 906 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,122 IT Pros & Developers. It's quick & easy.

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

P: 2
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.
Jan 11 '08 #1
Share this Question
Share on Google+
2 Replies


Dököll
Expert 100+
P: 2,364
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
Jan 11 '08 #2

P: 2
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!
Jan 19 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.