GetActiveDoc does not find a minimized window
Running Windows 7, Acrobat Pro DC, Excel vba
I'm finding that the following code does not find the active document if the active document is minimized.
Otherwise the code works fine.
Is there a better method? I would like my code to find a minimized window as an active document.
I haven't found any reference to this in Adobe Acrobat SDK documentation.
Thanks
Dim pdApp As acrobat.CAcroApp
Dim pdDoc As acrobat.CAcroPDDoc
Dim pdFile As acrobat.CAcroAVDoc
Set pdApp = CreateObject("AcroExch.App")
Set pdDoc = CreateObject("AcroExch.PDDoc")
Set pdFile = pdApp.GetActiveDoc
If (pdFile Is Nothing) Then
MsgBox "nothing"
End If
