Launch a 2nd Word Template and execute the Code

R

RC - S

How do I from a VBA (.DOT) launch and run a second .DOT where it runs the
entire VBA from the Declaratiions at the top...

Have been able to run a Sub in another VBA but thats all it runs...with
processing the Declarations etc.
 
C

Cindy M -WordMVP-

Hi =?Utf-8?B?UkMgLSBT?=,
How do I from a VBA (.DOT) launch and run a second .DOT where it runs the
entire VBA from the Declaratiions at the top...

Have been able to run a Sub in another VBA but thats all it runs...with
processing the Declarations etc.
Can you give us an example of what you mean?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
R

RC - S

We have VBA in a template which our application launches and runs quite
happily. When we are bringing up new clients we want to avoid making copies
of the VBA documents in the 'client directory' for reasons of change control,
plus these 'master documents' are located in several master directories.

The application when running in the client's environment has all the .DOT's
in the same folder.

In our environment i was investigating having a 'place holder' VBA which
would be copied to the clients folder - with the same name - which when
launched would then simply launch the master .DOT and run the VBA in its own
right.

Make sense??
 

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