• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Open an attachment in VBA Excel

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

Views

357

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
community guidelines
Community Expert ,
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:

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.   

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

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
community guidelines
New Here ,
Apr 29, 2020 Apr 29, 2020

Copy link to clipboard

Copied

LATEST

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

 

 

Votes

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
community guidelines