M
Maurizio BELLANTONE
Hi,
I need to connect a registered COM Add In from workbook Open event.
But every code I write, like these below, raise error 1004.
What is wrong ?
TIA,
Maurizio Bellantone
-----------------------------------------------------
Private Sub Workbook_Open()
Dim x As Integer
Application.COMAddIns("MyAddIn.Connect").Connect = True
End Sub
-----------------------------------------------------
Private Sub Workbook_Open()
Dim x As Integer
x = Excel.Application.COMAddIns.Count
End Sub
-----------------------------------------------------
I need to connect a registered COM Add In from workbook Open event.
But every code I write, like these below, raise error 1004.
What is wrong ?
TIA,
Maurizio Bellantone
-----------------------------------------------------
Private Sub Workbook_Open()
Dim x As Integer
Application.COMAddIns("MyAddIn.Connect").Connect = True
End Sub
-----------------------------------------------------
Private Sub Workbook_Open()
Dim x As Integer
x = Excel.Application.COMAddIns.Count
End Sub
-----------------------------------------------------