N
Nancyb
Hi
I'm trying to execute the public 'OfficeAddInUserName' function I've defined in my C# COM add-in called 'OfficeAddIn'. The following function in my xla is retuning an 'Object variable or With blockvariable not set' error
Public Function GetOfficeAddInUserName() As Strin
Dim oAdd As Objec
Set oAdd = Application.COMAddIns.Item("OfficeAddIn.Connect").Objec
On Error GoTo e
GetOfficeAddInUserName = oAdd.OfficeAddInUserName(
Exit Functio
eh
GetOfficeAddInUserName = Err.Descriptio
End Functio
Other than this, the add-in is working correctly (menus appear, etc.)
Is there a step I've missed in order to make the C# function in my COM add-in available to my wrapper xla?
I'm trying to execute the public 'OfficeAddInUserName' function I've defined in my C# COM add-in called 'OfficeAddIn'. The following function in my xla is retuning an 'Object variable or With blockvariable not set' error
Public Function GetOfficeAddInUserName() As Strin
Dim oAdd As Objec
Set oAdd = Application.COMAddIns.Item("OfficeAddIn.Connect").Objec
On Error GoTo e
GetOfficeAddInUserName = oAdd.OfficeAddInUserName(
Exit Functio
eh
GetOfficeAddInUserName = Err.Descriptio
End Functio
Other than this, the add-in is working correctly (menus appear, etc.)
Is there a step I've missed in order to make the C# function in my COM add-in available to my wrapper xla?