Word addin does not start in second document

H

Hendrik Jan

Hi,

I wrote a word addin that loads at startup of Ms Word. In the document with
which Ms Word starts (document 1) everything is OK. I can also run the addin
several times within Document 1. When I open another (new or saved) document,
document 2, the addin will not run anymore. The commandbarbutton is visible
en enabeled in the commandbar, but when I click on it nothing happens.

Any help will be appreciated.

Thanks,
Hendrik Jan
 
H

Hendrik Jan

Hoi ,

I just solved the problem. When I define an unique string in the tag
property of the commandbarbutton, it works for all documents.

cbb.tag = "UNIQUE"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top