Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
macro for show or not show table grids (faded)
I want to show a grayed table when I work in a document. I want to be able to
print a table on occasion, but still be able to gray it out so it won't always print - I had a macro for it but lost it and can't find how to do it again. |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
macro for show or not show table grids (faded)
You will have to describe in detail what was the result of the macro.
Note that you don't have to hide the table gridlines, because they never print; only table *borders* do. -- Stefan Blom Microsoft Word MVP "print/don't print table lines" print/don't print table wrote in message ... I want to show a grayed table when I work in a document. I want to be able to print a table on occasion, but still be able to gray it out so it won't always print - I had a macro for it but lost it and can't find how to do it again. |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
macro for show or not show table grids (faded)
You could accomplish this by applying the Hidden attribute to the table,
then making the appropriate adjustments to Word's settings so that hidden text is displayed, but not printed. The location for these settings depends on which version of Word you are using. This macro will select the table where the cursor resides and set the table's font attribute to hidden: Sub SetTableHidden() ' ' SetTableHidden Macro ' ' Selection.Tables(1).Select Selection.Font.Hidden = True End Sub It will not turn it gray... it will appear with dotted lines under the text (when hidden text is set to display). In Word 2007, you access the display/print hidden text settings in: Office button - Word Options - Display tab. In Word 2003, try Tools - Options - View for displaying hidden text (or not). For printing, see Tools - Options - Print. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "print/don't print table lines" print/don't print table wrote in message ... I want to show a grayed table when I work in a document. I want to be able to print a table on occasion, but still be able to gray it out so it won't always print - I had a macro for it but lost it and can't find how to do it again. |
#4
Posted to microsoft.public.word.tables
|
|||
|
|||
macro for show or not show table grids (faded)
Not sure if I answered your question.. your subject & message seem to be
saying two different things, so I answered the one in your message. In Word 2007, toggle gridlines using the View Gridlines tool in the Table Tools Layout ribbon tab. In Word 2007, choose Table - Hide (or Show) Gridlines. But, as he said, gridlines and borders aren't the same thing. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "Herb Tyson [MVP]" wrote in message ... You could accomplish this by applying the Hidden attribute to the table, then making the appropriate adjustments to Word's settings so that hidden text is displayed, but not printed. The location for these settings depends on which version of Word you are using. This macro will select the table where the cursor resides and set the table's font attribute to hidden: Sub SetTableHidden() ' ' SetTableHidden Macro ' ' Selection.Tables(1).Select Selection.Font.Hidden = True End Sub It will not turn it gray... it will appear with dotted lines under the text (when hidden text is set to display). In Word 2007, you access the display/print hidden text settings in: Office button - Word Options - Display tab. In Word 2003, try Tools - Options - View for displaying hidden text (or not). For printing, see Tools - Options - Print. -- Herb Tyson MS MVP Author of the Word 2007 Bible Blog: http://word2007bible.herbtyson.com Web: http://www.herbtyson.com "print/don't print table lines" print/don't print table wrote in message ... I want to show a grayed table when I work in a document. I want to be able to print a table on occasion, but still be able to gray it out so it won't always print - I had a macro for it but lost it and can't find how to do it again. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to show macro names in Word 2007 | New Users | |||
Gridlines won't print or show in preview but show on screen? | Page Layout | |||
page numbers show on screen; field codes show when printed | Page Layout | |||
Macro for Insert.File show all files | New Users | |||
How can I show text in Table of Contents, not show in document? | Microsoft Word Help |