Doc Templates - Protecting changes to Word Docs while using VBA Fo

T

TracyAnneNZ

I have created a word document template for creating address labels (so that
our company lables and other word documents have teh same appearance, style
and format) using VBA forms, so that the user enters the address informatiion
into the text fields of this form and when OK is pressed it populates the
word document.

How can I lock the word document so that when the form is closed (and text
appears in the word doc) that the user cannot change the text, format, style
or add anything to the word document unless they go back into the VBA Form?
Does anyone have a sample of the VBA code for this. I am using Word 2002 XP.

Your help would be appreciated.
 
J

Jezebel

Don't try it. The protection methods around cause more trouble than they
prevent. Experienced users will bypass them on principle; inexperienced
users will complain that their copy of Word doesn't work any more. The
problems here are social rather than technical, and as such are
insurmountable.
 

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