I have created a word 2002 document that has several macros in it to automate
it. I want to add a macro to save the document using fields in the document
as the name, which I have done, but I do not want the macros saved with the
document. The documents that are saved from the original will be for
reference only.

Thanks, for the help.

Re: how to save word document without saving macros with it. by Charles

Charles
Tue May 24 09:14:44 CDT 2005

Consider using a template. Then, using File > New, you create a new document
based on the template. The new document does not contain the macros. For
more on the different kinds of templates, tabs on the file new dialog, and
locations of templates folders see
http://addbalance.com/usersguide/templates.htm. Use of templates and use of
styles are two concepts you should master before you start worrying about
writing macros as complex as you are describing. Otherwise you will be
reinventing the wheel.
--

Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://www.mvps.org/word which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

"Vern" <Vern@discussions.microsoft.com> wrote in message
news:9A2829E2-B8F9-410D-ABEF-11A0BD5FF99F@microsoft.com...
>I have created a word 2002 document that has several macros in it to
>automate
> it. I want to add a macro to save the document using fields in the
> document
> as the name, which I have done, but I do not want the macros saved with
> the
> document. The documents that are saved from the original will be for
> reference only.
>
> Thanks, for the help.



Re: how to save word document without saving macros with it. by hiho

hiho
Tue May 24 10:35:45 CDT 2005

Never worked with Templates, have used VBA a far bit. I will try templates,
thanks.

"Charles Kenyon" wrote:

> Consider using a template. Then, using File > New, you create a new document
> based on the template. The new document does not contain the macros. For
> more on the different kinds of templates, tabs on the file new dialog, and
> locations of templates folders see
> http://addbalance.com/usersguide/templates.htm. Use of templates and use of
> styles are two concepts you should master before you start worrying about
> writing macros as complex as you are describing. Otherwise you will be
> reinventing the wheel.
> --
>
> Charles Kenyon
>
> Word New User FAQ & Web Directory: http://addbalance.com/word
>
> Intermediate User's Guide to Microsoft Word (supplemented version of
> Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
>
> See also the MVP FAQ: http://www.mvps.org/word which is awesome!
> --------- --------- --------- --------- --------- ---------
> This message is posted to a newsgroup. Please post replies
> and questions to the newsgroup so that others can learn
> from my ignorance and your wisdom.
>
> "Vern" <Vern@discussions.microsoft.com> wrote in message
> news:9A2829E2-B8F9-410D-ABEF-11A0BD5FF99F@microsoft.com...
> >I have created a word 2002 document that has several macros in it to
> >automate
> > it. I want to add a macro to save the document using fields in the
> > document
> > as the name, which I have done, but I do not want the macros saved with
> > the
> > document. The documents that are saved from the original will be for
> > reference only.
> >
> > Thanks, for the help.
>
>
>