K
Kim
We have written a macro in excel to print pdf files. However, this
macro seems to only work on one specific computer. All other
computers in the office receives an error message. The error says:
Run-time error '429':
ActiveX component can't create object.
Below (***) is where it errors out at:
Dim AcroExchAVDoc As Object, AcroExchPDDoc As Object, _
AcroExchApp As Object
Dim strFileName As String, strPath As String
Dim iNumberOfPages As Integer, i As Integer
***Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
Set AcroExchPDDoc = CreateObject("AcroExch.PDDoc")
Any help or suggestions is greatly appreciated.
macro seems to only work on one specific computer. All other
computers in the office receives an error message. The error says:
Run-time error '429':
ActiveX component can't create object.
Below (***) is where it errors out at:
Dim AcroExchAVDoc As Object, AcroExchPDDoc As Object, _
AcroExchApp As Object
Dim strFileName As String, strPath As String
Dim iNumberOfPages As Integer, i As Integer
***Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
Set AcroExchPDDoc = CreateObject("AcroExch.PDDoc")
Any help or suggestions is greatly appreciated.