Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA scripts disappear from Normal.dot
Hi all,
I've created a collection of template files for Word including a Normal.dot file with a few short VBA scripts. I use robocopy.exe to copy the template files to all my users' xp computers. When the files are copied, however, all the scripts have disappeared from the Normal.dot file at my users' computers - and sometimes from the file they were copied from as well. Can you imagine why and what I have to do? If you have any ideas please let me know. Thank you very much in advance. Jo |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA scripts disappear from Normal.dot
I dont know robocopy.exe, but normally, macros to be distributed to others
should not be stored in Normal.dot. Normally, you should instead create a separate template and store the macros in that template. You can then distribute the template to all relevant users. When stored in Words Startup folder on the individual users PC, the template will work as a global template and the macros will be available to all documents. See: http://www.word.mvps.org/FAQs/Macros...buteMacros.htm -- Regards Lene Fredborg - Microsoft MVP (Word) DocTools - Denmark www.thedoctools.com Document automation - add-ins, macros and templates for Microsoft Word "Jo Gjessing" wrote: Hi all, I've created a collection of template files for Word including a Normal.dot file with a few short VBA scripts. I use robocopy.exe to copy the template files to all my users' xp computers. When the files are copied, however, all the scripts have disappeared from the Normal.dot file at my users' computers - and sometimes from the file they were copied from as well. Can you imagine why and what I have to do? If you have any ideas please let me know. Thank you very much in advance. Jo |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
VBA scripts disappear from Normal.dot
Hi Jo,
I've created a collection of template files for Word including a Normal.dot file with a few short VBA scripts. I use robocopy.exe to copy the template files to all my users' xp computers. When the files are copied, however, all the scripts have disappeared from the Normal.dot file at my users' computers - and sometimes from the file they were copied from as well. Can you imagine why and what I have to do? If you have any ideas please let me know. My first thought would be some kind of anti-virus software that's stripping the macros from the files. 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 :-) |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
complex scripts | Microsoft Word Help | |||
pages disappear on normal view, show on print layour | Page Layout | |||
Complex scripts | Microsoft Word Help | |||
Complex Scripts Tab | Microsoft Word Help | |||
calendars disappear when I switch to normal view, | New Users |