Using Stencil For VBA Code Storage

G

Gary

I am writing some VBA Functions in a Stencils which is associated with a set
of Visio diagrams. I am trying to use the Stencil as a Global storage areas
for sharing functions and sub to my group of Visio drawings.

I need a little help to get started. I am not new to VBA (Access). I put
my code in the module instead of the class module. Is that right???
Normally, I think event controls code goes into the class module?? If I
wanted this function to be used in an event function should it be in the
class module???

The last question, I tried putting some code in the stencil which was also
associated with the template. I went into the module, vba code and only saw
the stencil code and could not see the template code. What am I doing
wrong???

Could I reference the functions or sub in the stencil just by function names
or I need to do something else to reference it???


Thanks You Very Much,

Gary
 

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