reference a function?

W

William

Hi everyone,

g'd afternoon. i'm working on a consumer-retailer templates. the consumer's
template has its own template, and so does the retailer's template has its
own. there are some functions shared by the consumer and retailer templates.
i'd like to put the common functions in a seperate template or so and, the
functions could be referenced by the consumer and retailer templates. does
anyone has any idea to do that in vba for word 2003?

thank you,

william.
--
 
W

William

hi,

if a template, shared.dot, has a function called commonFunc(), how can it be
called in another template, consumer.dot? thanks.
 
J

Jezebel

In Consumer.dot VBE, add a reference a reference to shared.dot. Give the
shared.dot VBA project a useful name. Then in consumer.dot use
[ProjectName].commonFunc
 

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