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.

Re: Table Formatting in Protected Document by Jean-Guy

Jean-Guy
Mon Feb 12 19:54:15 CST 2007

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



Re: Table Formatting in Protected Document by RichieRoch

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

Re: Table Formatting in Protected Document by Jean-Guy

Jean-Guy
Tue Feb 13 11:18:26 CST 2007

RichieRoch was telling us:
RichieRoch nous racontait que :

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

If you have a protected document, users cannot expect to be able to do
everything they could with a regular unprotected document.
So, I do not think you need to provide the full range of table
editing/formatting options/tools.

If all of your users are on Word 2003 and above, you can set only part of
the text as protected (not only the whole section, but individual
words/paragraphs).

--

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org