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

Adobe acrobat vba script for print out and save on pc

New Here ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

Good day!

I'm new to writing scripts, and I'm having problems with the code.

I have a vba code to open adobe acrobat, AcroRd32 version. Next, I need the opened document to be saved to the specified folder on the computer (the folder can be changed) through the print "Microsoft print to PDF" and the function "Print in grayscale (black and white)".

Please help me sit over this code for the second month already.

Thank

This code i open prom excel.

Sub openPDF1()

Имя = ActiveWorkbook.Name ' name excel file

Sheets("from path").Select

Dim Path As String

Path = "C:\Users\ta.va\Desktop\20\081334000010142018001_44.pdf"

ActiveWorkbook.FollowHyperlink Path

End Sub

PDF VBA.JPG

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.4K

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 ,
Oct 29, 2018 Oct 29, 2018

Copy link to clipboard

Copied

Adobe Acrobat or Acrobat Reader?

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 ,
Nov 02, 2018 Nov 02, 2018

Copy link to clipboard

Copied

Hello, Bernd Alheit

Acrobat Reader

Thank you

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
Community Expert ,
Nov 02, 2018 Nov 02, 2018

Copy link to clipboard

Copied

This is not possible with Acrobat Reader.

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 ,
Nov 02, 2018 Nov 02, 2018

Copy link to clipboard

Copied

Bernd Alheit,

Acrobat Reader not have a vba code to perform this function? Even if it can be done manually?

Thank you

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
Community Expert ,
Nov 02, 2018 Nov 02, 2018

Copy link to clipboard

Copied

Acrobat Reader doesn't have the API for this. The API is available in Adobe Acrobat.

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
LEGEND ,
Nov 02, 2018 Nov 02, 2018

Copy link to clipboard

Copied

LATEST

Though I am not sure why you are asking us. So far as I can see you want to make a PDF from Excel without using any Adobe software.

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