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

Adobe acrobat vba script for print out and save on pc

New Here ,
Oct 29, 2018 Oct 29, 2018

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

Adobe Acrobat or Acrobat Reader?

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

Hello, Bernd Alheit

Acrobat Reader

Thank you

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

This is not possible with Acrobat Reader.

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

Bernd Alheit,

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

Thank you

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

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

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

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