Table in Protected Document in Word 2003

E

Ed

How do I allow people to expand a table in a protected document that I
created in Word 2003?
 
J

Jay Freedman

Ed said:
How do I allow people to expand a table in a protected document that I
created in Word 2003?

You'll need a macro that unprotects the document, expands the table, and
reprotects the document.

The macro can be run from a custom toolbar button or menu item, or it can
run as the exit macro of the last form field in the last row. (A third but
inferior option is to have a MacroButton field in the table to run the
macro.)

The expansion is usually best done by having a predefined row, including its
form fields, stored as an AutoText entry in the template for the form. The
macro can insert that entry at the end of the existing table, and then (if
necessary) manipulate the exit-macro settings of the old and new "last
fields" -- only the new "last field" should specify the expansion exit
macro.

If you need someone to walk you through this, or to do the whole thing for
you, the microsoft.public.word.vba.general is a better place to ask.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Top