I have coding that sets a module variable to open Adobe Acrobat (Pro)... but Exiting is not working...
And then
Any suggestions besides using some Windows call to close the app?
Code:
Set mobjAcroApp = CreateObject("AcroExch.App")
Set mobjAcroAVDoc = CreateObject("AcroExch.AVDoc")
boResult = mobjAcroAVDoc.Open(sPDFFile, "") 'Open the PDF file
Set objAcroPDDoc = mobjAcroAVDoc.GetPDDoc
Set objJSO = objAcroPDDoc.GetJSObject 'Set the javascript object
And then
Code:
Set objJSO = Nothing
boResult = mobjAcroAVDoc.Close(True)
mobjAcroApp.Exit [B][COLOR="Red"]<-- does not close Adobe[/COLOR][/B]
Set objAcroPDDoc = Nothing 'Release the object
Set mobjAcroAVDoc = Nothing 'Release the object
Set mobjAcroApp = Nothing
Any suggestions besides using some Windows call to close the app?