Need to add code to an existing document

M

Mauricio

Hi all,
We have an application that allows to make documents using Word.
Some of ours clients have more than 10000 documents created. Now, one
of them asked us if is it possilbe to avoid than end users close the
document clicking on X. I found some code to do it but I need to add
this code to any document. The idea is add the code every time an
existing document is open or every time a new document is created.
Is there any way to do this? How?
Thanks in advance and excuse me for my english.
Regards,

Mauricio Nicastro
Barcelona, España.
 
D

Doug Robbins - Word MVP

Put the code in an addin which is a template that is saved in the Word
Startup folder.

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

Hi all,
We have an application that allows to make documents using Word.
Some of ours clients have more than 10000 documents created. Now, one
of them asked us if is it possilbe to avoid than end users close the
document clicking on X. I found some code to do it but I need to add
this code to any document. The idea is add the code every time an
existing document is open or every time a new document is created.
Is there any way to do this? How?
Thanks in advance and excuse me for my english.
Regards,

Mauricio Nicastro
Barcelona, España.
 

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

Top