Toolbar in Add-inn visible when a specific template is open

P

Peter Faulhaber

Hi All,

As default an add-inn is open when Word starts. In the add inn a toolbar is
visible=false. When the user open a specific template (Proposal template) in
Word the toolbar in the Add-inn must be visible. Anyone any idea?

The VBA code in the Proposal template can't be changed.
 
J

Jezebel

In your add-in, trap the document new and document open events; check if the
new/opened document has your proposal as the attached template; and if so
make the toolbar visible.
 

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