I need code to read data from PDF and compare it to page data.
Hope you have searched the forum...
-- Here to Learn and share ---
Here is a sample..
Dim AcroApp, AcroAVDoc
Dim gPDFPath, bReset, nCount
gPDFPath = "xyz.pdf"
Set AcroApp = CreateObject( "AcroExch.App" )
Set AcroAVDoc = CreateObject( "AcroExch.AVDoc" )
If AcroAVDoc.Open( gPDFPath, "" ) Then
bReset = True : nCount = 0
Do While AcroAVDoc.FindText( "Checkpoint", True, True, bReset )
bReset = False : nCount = nCount + 1
Wait 0, 200
Print "The word 'Checkpoint'
'You need adobe professionalon your system to use these methods
I tried the above code but i am getting Error "ActiveX Component cannot Create Object "AcroExch.app"
Please let me know the reason.
I tried the above code to get the count but it is going into an infinite loop.
Can you please solve this problem.
u can pull out data by cordinates and compare with any thing
what u need ,explain me