View Single Post
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default How can I make a show/hide text box that contains a table?

ActiveDocument.Shapes(1).Visible = msoFalse

will hide the first Shape in the document.

You should look at the code that is being run when the SHOW/HIDE GRID button
is clicked to see how it is being implemented in your case.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Cass Rymar" Cass wrote in message
...
Question is about MS Word 2003. I consider myself a WORD expert but I'm
stumped. My office uses a document template which contains a table within
a
text box. The table/text box can be toggled to appear or disappear by
clidking on a a "SHOW/HIDE GRID" button on the tool bar. I have gone
through
all the HELP topics and can find nothing about how to make this type of
show/hide table or text box. No one in the office knows anyting about it.
Can anyone help me?