Thread
:
Hiding Tables
View Single Post
#
2
December 20th, 2009, 10:12 PM posted to microsoft.public.word.tables
Doug Robbins - Word MVP
external usenet poster
Posts: 8,239
Hiding Tables
Select the table and insert a bookmark and then use the following code:
ActiveDocument.Bookmarks("Table").Range.Font.Hidde n = True
--
Hope this helps,
Doug Robbins - Word MVP
Please reply only to the newsgroups unless you wish to obtain my services on
a paid professional basis.
"Robert Burrows" Robert
wrote in message
...
I want to hide some tables in a Word doc and almost seem to be able to do
it.
If I define a para style and make the font in the style Hidden and then
select the para before the table, the table itself, and the para after the
table and tag it with the style, everything I want to disappear, actually
disappears and the spacing on the page adjusts appropriately. When I make
a
pdf of the page at this stage, it works. The table remains hidden. But ...
when I save and open the doc again, the tables are back (though text
remains
hidden). Any solutions, workarounds?
Doug Robbins - Word MVP
View Public Profile
View message headers
Find all posts by Doug Robbins - Word MVP
Find all threads started by Doug Robbins - Word MVP