Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Jo Gjessing Jo Gjessing is offline
external usenet poster
 
Posts: 7
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Lene Fredborg Lene Fredborg is offline
external usenet poster
 
Posts: 1,291
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M. Cindy M. is offline
external usenet poster
 
Posts: 2,416
Default 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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
complex scripts werekenn Microsoft Word Help 3 August 16th 23 10:24 PM
pages disappear on normal view, show on print layour leobar Page Layout 1 April 2nd 08 02:40 PM
Complex scripts wordpro Microsoft Word Help 2 February 3rd 07 09:45 AM
Complex Scripts Tab Mkate Microsoft Word Help 9 January 16th 07 03:37 PM
calendars disappear when I switch to normal view, Leo New Users 2 April 10th 06 03:09 PM


All times are GMT +1. The time now is 12:51 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"