Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
JKLineberry JKLineberry is offline
external usenet poster
 
Posts: 1
Default Insert same macro into multiple files

I have approx 40 word documents that I need to insert a "disable Save
As" macro into. Is there a way I can do this without opening each
individually and pasting the macro?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Insert same macro into multiple files

I think that you are wasting your time. If the users have their macro
security set to High, the macro would be automatically deleted from the
document. It is is set to medium, they will be given the opportunity the
delete the macro.

What you could do however is insert a variable in each of the documents to
identify them and then have your disable SaveAs macro in a global template
that interrogated the active document for the variable and if it existed,
exited from the SaveAs routine without giving the user the opportunity to
save the document. But you are still faced with being able to get that
global template on all of the users' machines and even then, they can
disable it.

--
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
"JKLineberry" wrote in message
...
I have approx 40 word documents that I need to insert a "disable Save
As" macro into. Is there a way I can do this without opening each
individually and pasting the macro?


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
how do you insert multiple word files into one document? Rafael Microsoft Word Help 6 December 6th 06 04:18 PM
Insert multiple text files in microsoft word DennisM Microsoft Word Help 7 May 14th 06 04:15 PM
Macro for Insert.File show all files Lawrence Gould New Users 2 September 21st 05 07:43 PM
How do I insert multiple jpg files in a Word doc and keep file si. Stonehill Microsoft Word Help 1 January 10th 05 09:51 AM
How can I insert multiple files at once into a document? Confused Word User Microsoft Word Help 1 December 10th 04 05:12 PM


All times are GMT +1. The time now is 05:28 PM.

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"