setting references to add-ins

S

Sandro

hello newsgroup

i need following mechanism:

i have lets say two word-templates (MAIN.DOT and SUB.DOT)

MAIN.DOT is opened, SUB.DOT not...

when MAIN.DOT is opened i need to set the reference to SUB.DOT (which is no
problem),

BUT...., aditionally i have to add a reference in SUB.DOT back to
MAIN.DOT...and all this has to
be done within MAIN.DOT.

is this possible?

many thx for feedback

sandro
 
J

Jill

Sandro

Assuming you meaning VBA references here: Main.dot can reference Sub.Dot OR
vice versa, but they cannot reference each other. There are ways to work
around that. One way is to organize the code so that cyclical references
are not required. If reorganization is not practical, there are other
choices, including for example: suppose MAIN.DOT is the main "code
library". Sub.dot can reference it directly (and read function return
values), but main.dot could only use sub.dot procedures by "running" them
(e.g., application.run or wordbasic.call).

Hope this helps,
Jill
 

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