PDA

Click to See Complete Forum and Search --> : Com Addin - "Type Mismatch Error"


jeff@matav.net.il
Mar 9th, 2001, 08:54 AM
I created a new VB Addin project with the template. On the designer chose Word as the "Application" and Startup as the "Initial Load Behavior". Ran the Addin and opened Word. I received a Type Mismatch error. I set a breakpoint and found that the line
Set VBInstance = Application
What is causing this?

Bill Crawley
Mar 20th, 2001, 05:04 AM
what have you declared vbinstance as? This suggests that vbInstance isn't an object but say a long or integer, but application is an object.