Saving Word Doc after running template with macro

J

JeffH13

I have created several Template files that when they open they run macro's.

After the doc has been created I go to save it and I save it as a doc file.

When I go to reopen the file it runs the macro again. I don't want the
macro to run after the file has been saved as a doc.

How can this be done?

Thanks....
 
J

JeffH13

I'm sorry my brain wasn't on the correct plain. What I ment to say is that I
have changed a template at runs VB to duplicate it self and then gathers
information from a database to fill in a form. I would like to save the doc
after it has been created but with out the vb information so that it doesn't
create a new form when opened.

Thanks.....
 
J

Jezebel

Instead of duplicating the template, create your document FROM the template.
Then the document won't have the code at all.
 

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