Open an attachment in VBA Excel

New Here ,
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

Views

91

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Open an attachment in VBA Excel

New Here ,
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

Views

92

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 21, 2020 0
Adobe Community Professional ,
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:

https://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_Acro...

 

2)In the Excel VBA, use the IAC to call this function.   

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 27, 2020 0
New Here ,
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

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Apr 29, 2020 0