Hi,
I am looking for a way to display a PDF file in a userform. I came acros the sollution in the attached file but i can't get it working.
Does anyone know what i do wrong?
Tx!
Hi,
I am looking for a way to display a PDF file in a userform. I came acros the sollution in the attached file but i can't get it working.
Does anyone know what i do wrong?
Tx!
Try attached.
Can't post code because of Firewall disliking Html-code but solution is to put the code in the Userform_Initialize event.
Last edited by bakerman2; 05-14-2019 at 08:15 AM.
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.
Yeah it works now. It only works when acrobat reader is already open. Is that always the case? if yes, do you know another way to display a pfd of word file in the userform?
I can't find a better way anywhere.
Tx
Acrobat reader doesn't need to be open when running the userform, at least not in my case.
Ah yeah you are right. Tx for the help!
Last edited by Afjio12; 05-15-2019 at 04:01 AM.
Hello,
Is there a way to Embedd the file in the excel file? A path to the PDF is not the best sollution for me because if the directory structure changes the PDF path doesn't work anymore.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks