Hi Helpasap,
I open a template with VBA-code and close and save the template as a
document. When I open the saved document i'm losing the VBA-code. How
can I use the VBA-code when I re-open the saved document.
Since you don't list the exact commands you're using to "open" the
template and "save as a document", we can't be sure exactly what you're
doing. But as a general rule, a document only has a LINK to macro code
in the template from which it was created. You'd need to start with a
document and be very careful to use SaveAs to create a new document.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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