Re: Word's "Entire Document" XML tags are fragile!
- From: "Brian" <TargetedConvergence@xxxxxxxxxxxxxxxx>
- Date: Sat, 22 Jul 2006 09:47:41 -0500
"Cindy M -WordMVP-" <C.Meister-C@xxxxxxxxxx> wrote in message
news:VA.0000c219.0089833f@xxxxxxxxx
Hi Brian,
What you're looking for is the Editors collection, that's a property of
the
RANGE or SELECTION object. So, you create a RANGE object, then
MyRange.Editors.Add(wdEditorEveryone)
Ah. So, do I leave the document protection on and just add or remove
editors for a range that includes everything inside the outer XML tags? Or
do I need to Unprotect the document, add or remove editors, and then call
Protect again?
(The latter is how the Word UI works; but the former would be much more
convenient, programmatically.)
Thanks!
Brian
.
- Follow-Ups:
- References:
- Word's "Entire Document" XML tags are fragile!
- From: Brian
- Re: Word's "Entire Document" XML tags are fragile!
- From: Cindy M -WordMVP-
- Re: Word's "Entire Document" XML tags are fragile!
- From: Brian
- Re: Word's "Entire Document" XML tags are fragile!
- From: Brian
- Re: Word's "Entire Document" XML tags are fragile!
- From: Cindy M -WordMVP-
- Word's "Entire Document" XML tags are fragile!
- Prev by Date: Re: Word's "Entire Document" XML tags are fragile!
- Next by Date: Re: Word's "Entire Document" XML tags are fragile!
- Previous by thread: Re: Word's "Entire Document" XML tags are fragile!
- Next by thread: Re: Word's "Entire Document" XML tags are fragile!
- Index(es):