Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
In this code both statements: Set a = New Acrobat.AcroAVDoc Set a = CreateObject("AcroExch.AVDoc") Fail. I have the Adobe Acrobat 7.0 Library checked and AcroAVDoc shows up in AutoComplete. Is there some sort of rule that says some ActiveX objects can not be instanciated? Thanks. Sub SearchPDF() Dim a As Acrobat.CAcroAVDoc Set a = New Acrobat.AcroAVDoc Set a = CreateObject("AcroExch.AVDoc") a.Open "C:\code\VBA-Transition_Guide.pdf", "szTempTitle" Dim ln As Variant ln = 1 b = a.FindText("VBA", ln, ln, ln) 'b is a boolean MsgBox CStr(b) a.Close (True) End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Activex component can't create object | New Users to Excel | |||
ActiveX Cannot create object | Excel Programming | |||
429 ActiveX can't create the object | Excel Programming | |||
error 429: ActiveX component can't create object | Excel Programming | |||
activex component can't create object with SAP 6.20 | Excel Programming |