Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture Outlook New Contact Close from Word

Status
Not open for further replies.

EdmCath

Technical User
Jun 22, 2004
34
CA
I am in the process of making a word fax transmittal using my outlook contacts in a userform combobox. I want to give the user the ability when selecting recipients, to add a new contact. I can bring up the new contact window, but I need to capture the close event of this window to update my combobox in the word userform. Does anybody have any suggestions as to how to do this?
 
I am assuming there is:

1. a routine that populates the combobox of Contacts
2. a commandbutton that fires a routine to bring up the new contact window

why not refire the population routine at the end of new contacts routine? The new contact should be in there. True, it does not precisely capture the Close event itself of new contact window, but it should work.

Gerry
 
That is actually what I am doing. However, the standard new contact window from outlook always opens up nonmodally and therefore allows the remaining vba code to run, before I get a chance to enter any information into the new contact window.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top