|
-
September 1st, 2009, 04:50 PM
#1
Can't use CreateObject with VSTO created addin
I created some VB.NET VSTO based addins for Word and Excel and from VBA can access the various methods using COMAddins collection. When I try and use the VBA CreateObject it fails with an error message saying "ActiveX Component cannot create object". Anyone know how to get around this but note the code in the VBA is not allowed to be modified. IS there some interface that needs to be used in the VSTO addin. I am using <ComVisible(True)>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|