Adobe acrobat vba script for print out and save on pc

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

595

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

Adobe acrobat vba script for print out and save on pc

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

596

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
Oct 29, 2018 0
Adobe Community Professional ,
Oct 29, 2018

Copy link to clipboard

Copied

Adobe Acrobat or Acrobat Reader?

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...
Oct 29, 2018 0
New Here ,
Nov 02, 2018

Copy link to clipboard

Copied

Hello, Bernd Alheit

Acrobat Reader

Thank you

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...
Nov 02, 2018 0
Adobe Community Professional ,
Nov 02, 2018

Copy link to clipboard

Copied

This is not possible with Acrobat Reader.

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...
Nov 02, 2018 0
New Here ,
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

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...
Nov 02, 2018 0
Adobe Community Professional ,
Nov 02, 2018

Copy link to clipboard

Copied

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

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...
Nov 02, 2018 0
Most Valuable Participant ,
Nov 02, 2018

Copy link to clipboard

Copied

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.

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