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 Rymar[ at ]discussions.microsoft.com> wrote in message news:05AC0B9B-1AB8-4565-AC9D-FAEC9029951B[ at ]microsoft.com...
[Quoted Text] > 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?
|