How to achieve editable word document with 95% protected in this c

  • Thread starter Narayana Reddy Bommu
  • Start date
N

Narayana Reddy Bommu

Hi,

I am working with word-2003 templates having macro forms in it.
I use auto-text entries of 15-20 pages along with bookmarks giving options
to the
user in macro VBA forms to enter the fields . The user can insert the name,
address and check or uncheck the desired autotext entries(i.e autotext
entries have bookmarks where the bookmark text will be later replaced by the
user inserted fields). After insertion, the generated document will be
protected. There is a problem in the protection of this generated document
from template. I need the generated document (i.e after user entered his
requirements in the forms of template) to be protected in such a way that
user can make changes only to specific bookmarks in the generated document
(i.e even for auto-text entered bookmarks- name, address, etc in the
protected document). The generated document should be well protected allowing
only changes in the required bookmarks. Can you help me in the option of
editing the bookmarks in the generated document(i.e protected one)? Is there
any macro forms VBA code to do? or Should i use of the MS word protection
options only?

In Word-2003, I see the option of editing desired text in the protected word
document directly. I am unable to load the autotext entries with editing
enabled bookmarks.

In Macro VBA forms , I noticed the four options ActiveDocument.Protect( )
[wdallowonlyreading, wdallowonlyformfields,wdnoprotection,etc]. I am unable
to get my required result. Can any MVP help me in this issue?
 
J

Jean-Guy Marcil

Narayana Reddy Bommu said:
Hi,

I am working with word-2003 templates having macro forms in it.
I use auto-text entries of 15-20 pages along with bookmarks giving options
to the
user in macro VBA forms to enter the fields . The user can insert the name,
address and check or uncheck the desired autotext entries(i.e autotext
entries have bookmarks where the bookmark text will be later replaced by the
user inserted fields). After insertion, the generated document will be
protected. There is a problem in the protection of this generated document
from template. I need the generated document (i.e after user entered his
requirements in the forms of template) to be protected in such a way that
user can make changes only to specific bookmarks in the generated document
(i.e even for auto-text entered bookmarks- name, address, etc in the
protected document). The generated document should be well protected allowing
only changes in the required bookmarks. Can you help me in the option of
editing the bookmarks in the generated document(i.e protected one)? Is there
any macro forms VBA code to do? or Should i use of the MS word protection
options only?

In Word-2003, I see the option of editing desired text in the protected word
document directly. I am unable to load the autotext entries with editing
enabled bookmarks.

In Macro VBA forms , I noticed the four options ActiveDocument.Protect( )
[wdallowonlyreading, wdallowonlyformfields,wdnoprotection,etc]. I am unable
to get my required result. Can any MVP help me in this issue?

The easiest, which might or might not be possible in your case depending on
your document layout, is to insert Continuous Section Breaks before and after
user editable areas. When you apply the protection (wdallowonlyformfields),
make sure those sections are not included in the protection.
 

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