Reference to stencil not saved in template

B

ben h

I have solution code in a stencil file, and a template that requires the
stencil file. In the VBA project for the template, I create a reference
to the VBA Project of the stencil file. Problem is that the reference is
not being 'saved' or passed on to the drawings created from the template
(i.e. when I open a new drawing from the template, there is no reference
to the stencil).

What's happening? What am I doing wrong?
 
J

JuneTheSecond

Reference to the project on vss is saved in my Visio.
I've give a concrete project name to the template.
 
J

JuneTheSecond

If the template has no macro and no custom tool bar is not made by
the macro, the the reference cannot be saved.
In this case, reference might not be neccessary, because no macro
on the stencil is not called from the template nor the created drawing
nor from custom tool bar.
 
B

ben h

JuneTheSecond said:
If the template has no macro and no custom tool bar is not made by
the macro, the the reference cannot be saved.
In this case, reference might not be neccessary, because no macro
on the stencil is not called from the template nor the created drawing
nor from custom tool bar.

You're absolutely spot on. Thanks, I've added a comment in the
ThisDocument module of the template, and now when a new file is created
from it, it keeps the reference to the vss.
 
P

Patrick DAVID

Hello,

I have the same pb I make a RUNADDON (to a Sub to open a form) on the
EvenDblClick of the shape of the stencil

but when I drag it to a new active page the RUNADDON on the EvenDblClick of
the shape disappears?

Thanks for help.
 

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