Hello all,
I'm a relative newbie to Macro coding, and I need some help with a project
that I tackled that has turned out much more complex than I originally
anticipated.
I have a table in a locked template. What I'd like to create are...
1. two buttons for adding rows, each button will add a row with a unique
style (i.e. one for row with blue background, 12pt font, one for row with
white background, 11pt font)
2. each cell in each row must contain a text form field. this would seem to
be the most difficult part of the project.
3. a third button to delete whichever row the cursor is in.
I know how to unlock/lock the form, I just am not familiar with the commands
to add/delete rows and the variables for the different styles.
Any help is extraordinarily appreciated!
gotham
Jonathan West - 08 Jan 2005 11:32 GMT
The simplest approach to this is to create the row by hand, formatted in the
way you want, then save it into the template as an AutoText entry, and then
insert the Autotext entry at the appropriate point in the document when you
unprotect the document.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
> Hello all,
>
[quoted text clipped - 21 lines]
>
> gotham