I have the code to get the opened pdf document title, but it works well when all the pdf document is in maximized position , if it is minimized it throws
error "Object required : AVDoc"
Please anybody help me out this.
Set AcroExchApp = CreateObject("AcroExch.App")
loopCount = AcroExchApp.GetNumAVDocs
if loopCount <=0 Then
Msgbox " No Pdf document(s) opened in your desktop"
For i = 0 to loopCount - 1
Set AVDoc = AcroExchApp.GetActiveDoc
Set pdDoc = AVDoc.GetPDDoc
docTitle = AVDoc.GetTitle
May be there is no active document.
The above statement working fine.
Thanks for help.