RichieRoch
Tue Feb 13 07:48:00 CST 2007
Jean-Guy,
Thanks for your reply. I started down that road then realized that I was
going to end up duplicating much of the functionality of the Table menu and
that didn't "feel" quite right. I guess, ideally, I'd like to write a macro
that unprotects then re-protects the document whenever a command from the
Table menu is used in a protected document. If there's a way to do that, I'd
love to hear it. Otherwise, I'll revisit the toolbar and unprotect/protect
solution.
Thanks again.
Rich
"Jean-Guy Marcil" wrote:
> RichieRoch was telling us:
> RichieRoch nous racontait que :
>
> > Is it possible to allow table formatting such as inserting a new row,
> > controlling page breaks within the table, etc. to occur in a document
> > that is protected? In my document, I need to allow such formatting to
> > occur so users can control the flow of information. However, I do not
> > want them changing any of the information that appears in the table
> > itself.
>
> For this type of user action in protected document I usually create little
> macros for each action I want my user to be able to perform and then create
> a toolbar with buttons to call those macros.
>
> Each macro will start with
>
> ActiveDocument.Unprotect "myPassword"
>
> and finish with
>
> ActiveDocument.Protect wdAllowOnlyFormFields, True, "myPassword"
>
> --
>
> Salut!
> _______________________________________
> Jean-Guy Marcil - Word MVP
> jmarcilREMOVE@CAPSsympatico.caTHISTOO
> Word MVP site:
http://www.word.mvps.org
>
>
>