Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Prompt for New contact (http://www.outlookbanter.com/outlook-vba/50460-prompt-new-contact.html)

BrianL June 14th 07 08:15 PM

Prompt for New contact
 
A couple days ago an employee asked if there was a way to get Outlook to
prompt you when you recieve an e-mail from someone who is not in your contact
list.

We downloaded an add-on that adds contacts from all messages sent and
recieved, but it hasn't been very helpfull.

My Goal for this script:
1. retrieve addresses from emails
2. Check for the address in the contacts list
3. run a form that will prompt "would you like to add as contact"
4. when you click yes, opens the standard "add contact" form with the email
already filled out (this one is optional)

I already have the Prompt form created and have named it addprompt. The only
script I have right now is the script for the "no" button.

any advice on how to achieve my goal would be greatly apreciated


Sue Mosher [MVP-Outlook] June 14th 07 08:40 PM

Prompt for New contact
 
If all you want is a prompt, you don't need any code. Just use a rule that has no conditions, a notify me action, and an exception for items in the address book.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"BrianL" wrote in message ...
A couple days ago an employee asked if there was a way to get Outlook to
prompt you when you recieve an e-mail from someone who is not in your contact
list.

We downloaded an add-on that adds contacts from all messages sent and
recieved, but it hasn't been very helpfull.

My Goal for this script:
1. retrieve addresses from emails
2. Check for the address in the contacts list
3. run a form that will prompt "would you like to add as contact"
4. when you click yes, opens the standard "add contact" form with the email
already filled out (this one is optional)

I already have the Prompt form created and have named it addprompt. The only
script I have right now is the script for the "no" button.

any advice on how to achieve my goal would be greatly apreciated


BrianL June 14th 07 09:25 PM

Prompt for New contact
 
The Prompt is what I am looking for. However, I would like Outlook to do more
then just prompt you. I was aiming for a prompt that would open the standard
"new contact" form with the email text box already filled with the email from
that message.

Now that I realize there is an exception for being in an address book, I
think the rule should run a code to either go directly to the "new contact"
form or ask the user first, if they would like to add the email as a new
contact.

I appologize if my original question did not express the entire goal.

"Sue Mosher [MVP-Outlook]" wrote:

If all you want is a prompt, you don't need any code. Just use a rule that has no conditions, a notify me action, and an exception for items in the address book.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54





All times are GMT +1. The time now is 07:09 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com