Blocking whole document

M

Marek

How can i block whole document?
I have a Word template with macro. After user fill template, he must bush my
button and doc is writing himself into a directory.
But i want do block whole document after pressing the button. How do this?
 
D

Doug Robbins

If by "block" you mean protect, then use ActiveDocument.Protect
wdAllowOnlyFormfields

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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