Hi Erwin,
There are two possible approaches I can think of.
One is for the text actually to be removed temporarily. I'd suggest that you
proceed as follows
1. copy the relevant text into an AutoText entry,
2. remove the text from the document
3. Where the text eas deleted, tnsert a bookmark with the same name as the
Autotext entry, so that you know where to put the text back later.
The other possibility is to use an IF field. You could have a custom
document property, perhaps called ShowHide, and then your conditional text
goes inside the IF field like this (The {} characters are field braces
inserted using Ctrl-F9
{ IF { DOCPROPERTY "ShowHide" } = "Hide" "" "Conditional text goes here" }
You can put as much conditional text as you want inside the final pair of
quotes. It can be formatted as well. Then it will display so long as you
don't set the value of the ShowHide document property to Hide.
Your macro would change the value of the document property and then update
the fields in the document.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
> Hello,
> I'm looking for a solution to make some parts of a document invisible and
[quoted text clipped - 14 lines]
> Thanks
> Erwin
Greg Maxey - 04 Feb 2005 10:59 GMT
Erwin,
See:
http://gregmaxey.mvps.org/Toggle_Data_Display.htm
This explains Jonathan's DocVariables method (with pictures) :-) and
provideds a few other alternatives.

Signature
Greg Maxey/Word MVP
A Peer in Peer to Peer Support
> Hi Erwin,
>
[quoted text clipped - 41 lines]
>> Thanks
>> Erwin
Klaus Linke - 07 Feb 2005 16:27 GMT
Not sure if your site mentions it:
If you have applied "hidden" as text fromatting, you can still change the
paragraph styles to "hidden" and hide everything.
If you change the paragraph style back to "not hidden", the stuff that was
hidden before stays hidden.
At least that's my experience... you might test a bit before using that method.
It doesn't work with "hidden" character styles, though. In that case, the
"hidden" attribute acts as a toggle. If you change the paragraph style to
hidden, the text marked in the "hidden" character style becomes visible.
Regards,
Klaus
> Erwin,
>
[quoted text clipped - 52 lines]
> >> Thanks
> >> Erwin
Ol - 04 Feb 2005 17:43 GMT
All "hide in field" methods works fine with plain text. But not if hiding
part includes picture or inlineshape. Those methods unable to hide such
objects.
> Hi Erwin,
>
[quoted text clipped - 40 lines]
> > Thanks
> > Erwin
Id recomend to use two document model. One is original document and another
one is embeded word document to store hiden parts. "Copy" "paste" methods to
exchage information, bookmark hiden parts to search them in embeded document.
> Hello,
> I'm looking for a solution to make some parts of a document invisible and
[quoted text clipped - 13 lines]
> Thanks
> Erwin