Help with field dependant on another field

N

Neil Humphries

Based on the value of a dropdown list, I want other fields to display various
values.
I can display the value selected in the dropdown at other locations in the
document with a REF field, but I can't get a field to display other text.

e.g. If the dropdown is "sun" the field should say "exterior", and
if the dropdown is anything else the field should say "interior".

The dropdown is named "dropdown1". I have tried using the following IF field:
IF dropdown1 = "sun" "exterior" "interior" \* MERGEFORMAT

Can I do what I want with fields or do I need a macro?
 
D

Doug Robbins - Word MVP

Use

{ IF { REF dropdown1 } = "sun" "exterior" "interior" }

Each pair of field delimiters { } must be inserted by use of Ctrl+F9

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
N

Neil Humphries

That certainly did the trick. Thanks.

Doug Robbins - Word MVP said:
Use

{ IF { REF dropdown1 } = "sun" "exterior" "interior" }

Each pair of field delimiters { } must be inserted by use of Ctrl+F9

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top