Disappearing code

K

kill_beast

I had a Word template with some form fields.

I used the Visual Basic editor to write some macro code for when the
document closes.

I did a Save As and saved the template as a new name.

When I open that template, I can't find the macro code, as if it just
disappeared?

Am I doing something wrong?
 
J

Jonathan West

kill_beast said:
I had a Word template with some form fields.

I used the Visual Basic editor to write some macro code for when the
document closes.

I did a Save As and saved the template as a new name.

When I open that template, I can't find the macro code, as if it just
disappeared?

Am I doing something wrong?

You're probably putting the code into normal.dot. This article may help you.

Distributing macros to other users
http://www.word.mvps.org/FAQs/MacrosVBA/DistributeMacros.htm
 

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