From: johnnykunst on 24 Apr 2010 06:54 I have a document template and have incorporated several macros (saved in just the document). I'd like to be able to make it so that when the user saves the filled out template as their own document (it'll have a new name of course)the new document has all the macros removed. --- frmsrcurl: http://msgroups.net/microsoft.public.word.vba.general/
From: Graham Mayor on 24 Apr 2010 07:31 If the template really is a template and not a document, when new documents are created from the template those documents do not contain the macros. They remain in the template. Resaving existing documents with new names is bad practice and will lead to loss of wanted documents. -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "johnnykunst" <user(a)msgroups.net/> wrote in message news:ePrARy54KHA.5476(a)TK2MSFTNGP06.phx.gbl... >I have a document template and have incorporated several macros (saved in >just the document). I'd like to be able to make it so that when the user >saves the filled out template as their own document (it'll have a new name >of course)the new document has all the macros removed. > > --- > frmsrcurl: http://msgroups.net/microsoft.public.word.vba.general/
From: johnnykunst on 24 Apr 2010 07:44 I am saving it as a Word macro enabled template- when the new document is opened, if I go into VBA, the macro's are still there, under the original template, but not under the document. --- frmsrcurl: http://msgroups.net/microsoft.public.word.vba.general/Template-when-saved-as-a-new-document-remove-macros
From: Graham Mayor on 24 Apr 2010 07:52 That's how templates work! -- <>>< ><<> ><<> <>>< ><<> <>>< <>><<> Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org <>>< ><<> ><<> <>>< ><<> <>>< <>><<> "johnnykunst" <user(a)msgroups.net/> wrote in message news:uydUNO64KHA.1424(a)TK2MSFTNGP04.phx.gbl... >I am saving it as a Word macro enabled template- when the new document is >opened, if I go into VBA, the macro's are still there, under the original >template, but not under the document. > > --- > frmsrcurl: > http://msgroups.net/microsoft.public.word.vba.general/Template-when-saved-as-a-new-document-remove-macros
From: Doug Robbins - Word MVP on 24 Apr 2010 17:17 If you move the document to another computer on which the template is not available, the reference to the original template will be changed to reference to the Normal.dot (dotm) template and the macros will not longer be present or available. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "johnnykunst" <user(a)msgroups.net/> wrote in message news:uydUNO64KHA.1424(a)TK2MSFTNGP04.phx.gbl... > I am saving it as a Word macro enabled template- when the new document is > opened, if I go into VBA, the macro's are still there, under the original > template, but not under the document. > > --- > frmsrcurl: > http://msgroups.net/microsoft.public.word.vba.general/Template-when-saved-as-a-new-document-remove-macros
|
Pages: 1 Prev: How to show user % complete for time-consuming task? Next: Delete Style Set |