Word Form help needed

  • Thread starter Thread starter Patty
  • Start date Start date
P

Patty

In a portion of my form if the user selects the check box
for REQUIRED, the information in that row stays. If the
user selects the check box for NOT REQUIRED that row needs
to be deleted. How do I set my form up to do this
function?
 
Hi Patty,
In a portion of my form if the user selects the check box
for REQUIRED, the information in that row stays. If the
user selects the check box for NOT REQUIRED that row needs
to be deleted. How do I set my form up to do this
function?
That would require a VBA macro that essentially:
- unprotect the document
- loops through the checkboxes (in that particular column?)
and deletes the rows as necessary
- reprotects the document without resetting the form fields

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)
 
-----Original Message-----
Hi Patty,

That would require a VBA macro that essentially:
- unprotect the document
- loops through the checkboxes (in that particular column?)
and deletes the rows as necessary
- reprotects the document without resetting the form fields

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep
30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)

.
This is still a problem for me - it keeps coming back to
me like a bad dream - I don't know Visual Basic - and I've
tried work arounds like using sections and protecting Sect
1 and leaving Sect 2 unprotected and giving instructions
to the user how to delete the row and protect the section
but they would have to unprotect the whole document and
when they reprotect all the sections you loose the info
put in Sect 1 - I won't be learning VB anytime soon - do
you have a workaround for not loosing the info in Sect 1
fields?
 
Back
Top