Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hidden Text within an IF field in Word 1

Status
Not open for further replies.

hc98br

ISP
Aug 14, 2003
46
I have a If field in word, one of the results is text formatted as Hidden, but it does not display unless I am viewing the field code.

Is it just not possible - or is there a solution to this?


Thanks for your help

Ben
 
The secret to this is that the whole IF statement must be formatted as Hidden Text, not just the True or False fields. I know it is strange, but it is true!

If you only wanted one parameter (ie True or False) to be hidden, then you will have to construct two separate IF statements, one hidden, one not.

Regards: tf1
 
Thanks for that - it at least stopped my trying!

The problem is I want an If field that displays some text when true and displays nothing when false - OK, but when false, I can't find it!! Which is where hidden text comes in - I thought.

Anyway - I reply now, because I have solved the problem, so just for the record, I have just made the False text white - meaning that it will not show on the print-out, and because fields are highlighted in grey, you can see it on screen!!


Hope thats useful to someone else


Thanks

Ben,



 
Hi Ben,

FWIW, you could also have made the false result to be a single space character, if that wouldn't upset your document's layout. Then the (nominally empty) field would remain visible if false.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top