Import module

M

Mark

I am using Word 97 and I want to import a module into an
existing template.

Is there some some that will do this automatically? if so
can someone provide me with some code.

As an added bonus could this code check to see if the
module to be imported already exists and if so ask
whether it is to be written over.

Regards

Mark
 
S

Steve Hudson

G'day "Mark" <[email protected]>,

ActiveDocument.VBProject.VBComponents.Import MyFilename.frm


Mark said:
I am using Word 97 and I want to import a module into an
existing template.

Is there some some that will do this automatically? if so
can someone provide me with some code.

As an added bonus could this code check to see if the
module to be imported already exists and if so ask
whether it is to be written over.

Regards

Mark

Steve Hudson

Word Heretic, Sydney, Australia
Tricky stuff with Word or words for you.
wordheretic.com

If answers r 2 terse, ask again or hassle an MVP,
at least they get recognition for it then.
Lengthy replies offlist require payment.
 

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