Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 5 Aug 2008 06:08:00 -0700,    group: microsoft.public.word.tables        back       


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.
date: Tue, 5 Aug 2008 06:08:00 -0700   author:   print/don't print table lines print/don't print table

Re: 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
lines@discussions.microsoft.com> wrote in message
news:E17EA83B-52FF-4910-8B81-C5A44BABB14E@microsoft.com...
>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.
date: Tue, 5 Aug 2008 15:18:31 +0200   author:   Stefan Blom

Re: 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 
lines@discussions.microsoft.com> wrote in message 
news:E17EA83B-52FF-4910-8B81-C5A44BABB14E@microsoft.com...
>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.
date: Tue, 5 Aug 2008 09:31:01 -0400   author:   Herb Tyson [MVP]

Re: 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 
news:evlBU%23v9IHA.5872@TK2MSFTNGP02.phx.gbl...
> 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 
> lines@discussions.microsoft.com> wrote in message 
> news:E17EA83B-52FF-4910-8B81-C5A44BABB14E@microsoft.com...
>>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.
>
date: Tue, 5 Aug 2008 09:45:38 -0400   author:   Herb Tyson [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us