Jan 26 2022 09:44 AM
From within my Access app, I've been able to open, edit, save and close a pdf file using the Adobe Acrobat reference. The app had been running great for several months. Recently, the VBA "Save" command no longer saves the pdf. I have verified this issue on multiple devices and similar Access apps. Adobe Support says they're not at blame. Is anyone aware of a patch, update, etc. from Microsoft (or Adobe) that might be causing this issue?
Jan 26 2022 01:51 PM
Jan 26 2022 05:01 PM
I'm using the Adobe Acrobat 10.0 Type Library reference. The filename is Acrobat.tlb.
Here's my code:
Dim intA As Integer
intA = theForm.Save(1, B)
If theForm.Save(1, B) = False Then
MsgBox "Error 'If theForm.Save(1, B) = False' has occurred.", vbCritical, "Error"
theForm.Close
Kill B
AcroApp.Exit
Set AcroApp = Nothing
Set theForm = Nothing
Exit Sub
End If
However, it appears I may have sorted this out. As you may recall, my VBA "Save" command stopped saving newly-edited pdf files sometime recently.
Using two PCs, I tested several configurations and this is what I found:
As such, I'm of the opinion that the issue is with my latest version (2021.011.20039) of Adobe Acrobat DC.
Thanks for your interest!
Jan 27 2022 04:11 AM
Jan 31 2022 01:50 PM
Jan 31 2022 03:57 PM
After first telling me I needed to upgrade to an Enterprise License (wrong) followed by "it's impossible to roll-back to my previous version" (wrong), I received an email today from Adobe with excellent instructions on rolling-back to my previous version. As expected, all good now.
Nov 17 2022 04:18 PM
@Ken_RavazzoloSorry to bother you on an old post but curious on a bit more detail.
You issue revolved around using VBA code and the Adobe SDK to save a document ? ie using CreateObject("AcroExch.AVDoc") etc.
Did your solution basically mean that the Acrobat 2020 version worked with Windows 11 but the later versions did not ?
Nov 17 2022 05:11 PM
Nov 17 2022 06:05 PM
@Ken_RavazzoloBrilliant thank you. You have confirmed my suspicion regarding the subscription side of things and saved me a lot of angst. Will look to similarly eradicate adobe 🙂
Dec 12 2022 10:51 PM