Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

Adding Rows to Locked Table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt - 08 Jan 2005 07:55 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.