L
L.
Hi,
How can I protect selective parts of a word document where the selection is
determined programmatically. I.e.., I have a regular expression that can
identify the set of non-contiguous strings in a document that I want other
editors of this
document to view but not modify. (I write some Word documents in MS Word 2003
but then email them to outside reviewers who may accidentally break some
special text tags). In addition, I want a macro that can allow editors of
this document to unlock (unprotect) any of the protected strings without
unprotecting
everything.
In MS Word 2003 allows you to do this manually via
Tools/Protect Document/Editing Restrictions/Exceptions, but it doesn't seem
to work when you select your text (e.g. via selecting a style) and then
record this action as a macro. Also, un-protection seems to be an all-or-none
action.
Any suggestions will be appreciated.
How can I protect selective parts of a word document where the selection is
determined programmatically. I.e.., I have a regular expression that can
identify the set of non-contiguous strings in a document that I want other
editors of this
document to view but not modify. (I write some Word documents in MS Word 2003
but then email them to outside reviewers who may accidentally break some
special text tags). In addition, I want a macro that can allow editors of
this document to unlock (unprotect) any of the protected strings without
unprotecting
everything.
In MS Word 2003 allows you to do this manually via
Tools/Protect Document/Editing Restrictions/Exceptions, but it doesn't seem
to work when you select your text (e.g. via selecting a style) and then
record this action as a macro. Also, un-protection seems to be an all-or-none
action.
Any suggestions will be appreciated.