Thread: Hiding Tables
View Single Post
  #3   Report Post  
Posted to microsoft.public.word.tables
Robert Burrows[_2_] Robert Burrows[_2_] is offline
external usenet poster
 
Posts: 1
Default Hiding Tables


Hi Doug,

Thanks. That seems to work. But the only problem is that I don't want to
make bookmarks for every table in the doc. What I'm actually trying to do is
create "conditional" text for multiple variations of a single manual. I was
hoping there was a less tedious solution. But if there isn't, guess I'll go
with the macro. Thanks!

bob

"Doug Robbins - Word MVP" wrote:

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?