I would like to know
how to populate listbox with PDF files from a folder filled with PDF files?
And how do I open a PDF file on the populated listbox with a commandbutton?
I would like to know
how to populate listbox with PDF files from a folder filled with PDF files?
And how do I open a PDF file on the populated listbox with a commandbutton?
Is the ListBox and CommandButton on a worksheet or in a Userform?
Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.
Try example file.
First adapt path in userform code. Then by clicking a name in the ListBox opens pdf-file.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks