View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP- Cindy M  -WordMVP- is offline
external usenet poster
 
Posts: 370
Default Hiding/showing a table with VBA

Hi AmandaH,

I am trying to find out for I can trun a table on or off depending on a
yes/no answer from a form field. I am using Word 2003 and the VBA that
comes with it.

You can format the table with a specific style. The code for the On Exit
property of the checkbox change the styles' FONT.Hidden property to true
(or false). this works without turning off document protection.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

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