0
Open an attachment in VBA Excel
New Here
,
/t5/acrobat-sdk-discussions/open-an-attachment-in-vba-excel/td-p/11067141
Apr 21, 2020
Apr 21, 2020
Copy link to clipboard
Copied
Hi,
Can i open a word attachment in a pdf with Excel VBA?
thx if someone have an answer.
Best regards
Axel
TOPICS
Acrobat SDK and JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
/t5/acrobat-sdk-discussions/open-an-attachment-in-vba-excel/m-p/11085608#M6127
Apr 27, 2020
Apr 27, 2020
Copy link to clipboard
Copied
There is a way to do this, but you'll need to test it be sure. It's not a straight forward path.
1) Write a folder level JavaScript function to open the word attachment. Use the "doc.exportDataObject()" function.
Here's the reference entry:
2)In the Excel VBA, use the IAC to call this function.
Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often
Use the Acrobat JavaScript Reference early and often
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
alexp43858996
AUTHOR
New Here
,
LATEST
/t5/acrobat-sdk-discussions/open-an-attachment-in-vba-excel/m-p/11089868#M6128
Apr 29, 2020
Apr 29, 2020
Copy link to clipboard
Copied
Hi Tom,
I am so grateful to your help.
I work on an other project right now but i test your solution as soon as possible.
But i think it's gone be perfect.
Best regards
Alex
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

