PDA

View Full Version : How do I display "&" in dependent drop-down in Word?



helpplz
06-14-2021, 08:43 AM
Hi,


The & shows up in the drop down list when I used "&&" in the name of the field but it does not show up in the document.

Can you please help me!

Regards,
Isha

SamT
06-14-2021, 08:50 AM
Const Amp As String = "&"

MsgBox "This " & Amp & " That"

Might need

Dim Amp As String
Amp = Chr(38)

Might use

MsgBox "This " & Chr(38) & " That"

Or possibly

MsgBox "This " & "&" & " That"

macropod
06-14-2021, 03:18 PM
The & shows up in the drop down list when I used "&&" in the name of the field but it does not show up in the document.
You really haven't provided enough information for a meaningful answer. For example, what type of dropdown are you using - ActiveX, Content Control, Formfield? Are you using VBA code with this? If so please post the relevant portion.

Can you attach a document to a post with some representative data (delete anything sensitive)? You do this via the paperclip symbol on the 'Go Advanced' tab at the bottom of this screen.