How can I make a show/hide text box that contains a table?

C

Cass Rymar

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?
 
D

Doug Robbins - Word MVP

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top