Results 1 to 2 of 2

Thread: Com Addin - "Type Mismatch Error"

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2001
    Posts
    2
    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?

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width