Insert same macro into multiple files

  • Thread starter Thread starter JKLineberry
  • Start date Start date
J

JKLineberry

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?
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top