![]() |
#1
|
|||
|
|||
![]()
Hi,
I have a drop down list with A, B, C and D possibilities. If I choose an "A" in a drop down list, I want in the text later on "You choose A" is written, if I choose B in a drop down list I want "You choose B" to be written and so on. So basically I have to connect drop down list with the if statement and I have no idea how to do it. Thanks for the help ![]() Anja |
#2
|
||||
|
||||
![]()
What kind of dropdown? Are you using ActiveX controls, formfields, content controls or a userform?
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
I didn't even know that there are so many possibilities. I am using content controls. Sorry for not being clear.
|
#4
|
|||
|
|||
![]()
{ IF { REF Dropdown1 } = "A" "You choose A” “" }
{ IF { REF Dropdown1 } = "B" "You choose B” “" } { IF { REF Dropdown1 } = "C" "You choose C” “" } I tried this but nothing happens... Thanks for the help Anja |
#5
|
|||
|
|||
![]()
Your field would have to be nested:
{ If { Dropdown1 } = "A" "You chose A""{ IF { Dropdown1 } = "B" "You chose B""{ IF { Dropdown1 } = "C" "You chose C""{ IF { Dropdown1 } = "D" "You chose D""" }" }" }" } I would suggest linking your dropdown CC with another CC. This may offer some help: http://gregmaxey.com/word_tip_pages/linked_content_control_dropdown_list.html |
#6
|
||||
|
||||
![]()
hi Anja,
Since you're using content controls, the field code approach you posted & Greg responded to won't work unless you (a) bookmark the relevant content control as 'Dropdown1' and (b) used a ContentControlOnExit macro to update fields in the document.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Sammie0Sue | Word VBA | 2 | 11-04-2013 02:11 AM |
Help, auto select drop down by another drop down value? | skrallemand | Word VBA | 3 | 09-11-2013 11:55 AM |
![]() |
sbarron76 | Mail Merge | 2 | 05-03-2013 05:00 AM |
![]() |
piper7971 | PowerPoint | 1 | 08-19-2010 07:10 AM |
![]() |
CPelkey | Word | 1 | 04-12-2010 09:06 AM |