BruceA@WSIB
11-21-2012, 07:44 AM
Hi Guys,
OCR has been deprecated between Office 2007 and Office 2010.
What third-party API can be added to Office 2010 (VBA 7.0) to provide the missing OCR capability?
I'm looking for a few recommendations, including pros and cons of each.
Here's the VBA code which used to work perfectly in Office 2007 (VBA 6.0), but fails in Office 2010 (VBA 7.0).
Dim midoc As MODI.Document
Dim FiletoCheck As String
Dim DocPages
Set midoc = New MODI.Document
FiletoCheck = UserForm1.Label1.Caption
midoc.Create FiletoCheck
DocPages = midoc.Images.Count '<== This works perfectly!
midoc.Images(0).OCR '<== This method used to work in VBA 6.0, but doesn't work in VBA 7.0 - Work around is needed here
OCR has been deprecated between Office 2007 and Office 2010.
What third-party API can be added to Office 2010 (VBA 7.0) to provide the missing OCR capability?
I'm looking for a few recommendations, including pros and cons of each.
Here's the VBA code which used to work perfectly in Office 2007 (VBA 6.0), but fails in Office 2010 (VBA 7.0).
Dim midoc As MODI.Document
Dim FiletoCheck As String
Dim DocPages
Set midoc = New MODI.Document
FiletoCheck = UserForm1.Label1.Caption
midoc.Create FiletoCheck
DocPages = midoc.Images.Count '<== This works perfectly!
midoc.Images(0).OCR '<== This method used to work in VBA 6.0, but doesn't work in VBA 7.0 - Work around is needed here