View Single Post
 
Old 10-23-2015, 01:38 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You hadn't previously said you wanted both the name and the address in another location. In that case, you will need to change the code. I see that you have now edited post #32 to say that, but that's not what you asked at the time...

Change:
StrDetails = Replace(.DropdownListEntries(i).Value, "|", Chr(11))
to:
StrDetails = .Range.Text & Chr(11) & Replace(.DropdownListEntries(i).Value, "|", Chr(11))
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote