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

Open an attachment in VBA Excel

New Here ,
Apr 21, 2020 Apr 21, 2020

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
473
Translate
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

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

Translate
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
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

 

 

Translate
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