excel to PDF using Adobe Acrobat Pro 2017 not working

kitsa

Board Regular
Joined
Mar 4, 2016
Messages
111
Office Version
  1. 365
  2. 2016
Hi Guys,
I have a slight problem. I used to be able to have excel export to PDF (file name from a cell), this is no longer working since I have updated my Adobe Acrobat to Pro 2017. the PDF is printing but not saving to the file anymore. Can someone help me?
my code below:

HTML:
Private Sub CommandButton1_Click()ActiveWorkbook.Save    Range("Q7").SelectChDir "Z:\ESS Contract Administration Reconciliation\One Steel" ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:=Range("J10").Value _, Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _ :=False, OpenAfterPublish:=False Range("E21").Select    ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _        IgnorePrintAreas:=False    Range("J10").Select

Thanks Kitsa
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
That seems strange given that the code doesn't use Adobe at all. Are you sure you're looking in the right place for the pdf files (Your code doesn't specify a path, so it will be saved in whatever the current directory is).
 
Upvote 0

Forum statistics

Threads
1,224,930
Messages
6,181,825
Members
453,067
Latest member
mdiz777

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top