Field - Control the text that appears or not appears
Hello
I have a field like this: {SET seetext "1"}
And I have many field like this : {IF {REF seetext }=”1” “text to appear”
“”}
When I put the first field to : SET seetext “0”
I hide the text “text to appear” in my word document. The problem is if
“text to appear” is a Title numbered:
1 “text to appear”
1.1 “text to appear”
2 “text to appear”
It’s a problem because the numbers don’t disappear and when I put SET
seetext “0” they look like this:
1
1.1
2
And I want the numbers to disappears because I need to control the text with
just a change in the variable seetext.
Anybody can help me with a trick or a different solution for my objective?
Tanks in advance
Re: Field - Control the text that appears or not appears
See my reply in microsoft.public.word.vba.general.
Also, please don't post the same question separately in multiple forums. If you need to, post the same question to mutliple forumns
simultaneously.
--
Cheers
macropod
[MVP - Microsoft Word]
"Jorge mst" <Jorgemst@discussions.microsoft.com> wrote in message news:AA12ACC0-71EF-47B5-B9A5-1B3FF90F395B@microsoft.com...
> Hello
>
> I have a field like this: {SET seetext "1"}
> And I have many field like this : {IF {REF seetext }=”1” “text to appear”
> “”}
> When I put the first field to : SET seetext “0”
> I hide the text “text to appear” in my word document. The problem is if
> “text to appear” is a Title numbered:
> 1 “text to appear”
> 1.1 “text to appear”
> 2 “text to appear”
>
> It’s a problem because the numbers don’t disappear and when I put SET
> seetext “0” they look like this:
> 1
> 1.1
> 2
>
> And I want the numbers to disappears because I need to control the text with
> just a change in the variable seetext.
>
> Anybody can help me with a trick or a different solution for my objective?
> Tanks in advance
>