Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / June 2005

Tip: Looking for answers? Try searching our database.

create a combo box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dylan Nicolini - 23 Jun 2005 21:03 GMT
I am having a lot of trouble. I have a word doc that is created with tables.
I am trying to add a combo box which holds names of people. When the user
selects a certain name I want it to display a certain picture....their
signature. I have been playing around with this for house and i still can not
get it.
Doug Robbins - 24 Jun 2005 05:21 GMT
' Macro created 15-11-97 by Doug Robbins to add the address corresponding to
a drop down name

'

Set myDrop = ActiveDocument.FormFields("Dropdown1").DropDown

Company = myDrop.ListEntries(myDrop.Value).Name

Address = ActiveDocument.AttachedTemplate.AutoTextEntries(Company).Value

ActiveDocument.FormFields("Text1").Result = Address

Save the signatures as autotext entries that match the names in the
combobox.
Signature

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

>I am having a lot of trouble. I have a word doc that is created with
>tables.
[quoted text clipped - 3 lines]
> not
> get it.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.