How to achieve editable document with 95% protected from templates

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

Doug Robbins - Word MVP

Exactly what do you mean by "macro VBA forms"?

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

Jean-Guy Marcil

Narayana Reddy Bommu said:
Hi,

I am working with word-2003 templates having macro forms in it.
I use

<snip>

Answered elsewhere.
Please, do not post the same message to multiple groups.
 
N

Narayana Reddy Bommu

Hi Robbins,
There is Visual Basic Editor attached to macros. I am using VB
forms for UI along with backend of VBA code. Whenever the user run the
template, he sees the User Interface form opened along with Microsoft Word in
the back. He should insert the required text in the UI textboxes. He can move
to next form with button click and finish all his needs. Now, the inserted
text will be inserted in the final generated document with the help of
bookmarks and autotext. I should protect the whole generated document
allowing certain bookmark fields (i.e including autotext bookmarks) to be
editable where UI text is inserted.

Doug Robbins - Word MVP said:
Exactly what do you mean by "macro VBA forms"?

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

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?
 

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