Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Template VBA Question, Listbox
Here is what I need to do. I need to enter an address into a document based
on a users selection with a listbox. It drops the information into the document, which is fine, but then later in the document, I need to grab the person's name from that information, and insert it elsewhere into the document. How can I accomplish this task? Any suggestions? It would be like this, First Last then a comma. I need to grab the first and last, before the comma. Not all names of course are the same length. Thanks in advance for any, and all help! Brian |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Template VBA Question, Listbox
http://gregmaxey.mvps.org/Populate_UserForm_ListBox.htm should give you a
few ideas See also http://www.gmayor.com/Macrobutton.htm which shows how to grab addresses and parts of addresses from Outlook - the techniques are similar. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Trefilov22 wrote: Here is what I need to do. I need to enter an address into a document based on a users selection with a listbox. It drops the information into the document, which is fine, but then later in the document, I need to grab the person's name from that information, and insert it elsewhere into the document. How can I accomplish this task? Any suggestions? It would be like this, First Last then a comma. I need to grab the first and last, before the comma. Not all names of course are the same length. Thanks in advance for any, and all help! Brian |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Listbox and Access query in Word? | Microsoft Word Help | |||
How to create listbox and checkbox in Word form | Microsoft Word Help | |||
Combobox, listbox, something! | Microsoft Word Help | |||
Popup with ListBox options | Microsoft Word Help | |||
ListBox | Microsoft Word Help |