Auto Addition To Contacts

F

FARAZ QURESHI

I want an automatic exercise/macro to be carried out/run whenever an email
arrives which would:
1. Check if the sender's email address is already in the contacts;
2. If yes, End;
3. Else notify in a MsgBox "Do You Want To Add "&Sender's Name&" To Your
Contacts"?
4. If Yes is clicked add the address to the Outlook Contacts;
5. If No, End.

Could one help out in this reagrd?
 
F

FARAZ QURESHI

To learn yourself, ofcourse!
This Discussion Group is as long as I think to learn and help, not to Market
products.
 
R

Roady [MVP]

What part is the learning part when you ask someone else to produce the code
for you?
It's not a product market when it answers your question and does exactly
what you wanted. It would be a product market if a completely new topic was
created just to promote a certain tool. It would also be a product market if
you totally dismiss the built-in solutions of Outlook. In your case; this
functionality doesn't exist so an alternative is offered. You are free to
look for more alternatives.

Now, if you want to learn, and get stuck with code you developed, then you
can ask your question in the developers newsgroup. Discussing programming
questions is off-topic for this newsgroup.
 
F

FARAZ QURESHI

Well! Unfortunately took you mistakenly as a competent and cooperative
discussing partner as usually found on Excel forums. If you can't do so don't
worry I sure would probe to construct my own code.

Any idea of sources of VBA codes on net? Or won't even help out in this
regard?

TC!
 
F

FARAZ QURESHI

Any sources for structure and procedures of codes as samples for Outlook 2007
on net?

--

Best Regards,
FARAZ A. QURESHI
 
R

Roady [MVP]

Faraz, I've helped you out many times before but why do you always need to
turn everything into a personal attack?

FYI: yes, I have the knowledge to create such a code. If I had a code sample
for you here, I would happily provide it to you. However, I don't and I
don't have the time to create one especially for you from scratch. It's not
unwillingness, it's a simple matter of being able to help out others as well
in my spare time for free while still maintaining enough billable hours to
actually make a living.

You say you want to learn, then take a look at
http://www.outlookcode.com

Here you'll find plenty of information about writing your own macro's for
Outlook and a lot of code samples. If you get stuck then you can discuss
your code on that website or in the Outlook developers newsgroups hosted by
Microsoft.

If you don't want to code yourself or you don't have that many spare time to
code it, then using the 3rd party tool I recommended earlier would be a good
idea. Considering the time you'll otherwise need to spent on it, buying the
tool could eventually end up being the cheaper solution.
 
F

FARAZ QURESHI

U R quite right Roady!

I sure am ashamed of my own words, specially the way I behaved despite of
all your help everytime. It's just this late night working hours and boss
yelling upon you for make such stupid mistakes sometimes that sure gets you
frustrated.

Had lost a valuable client's email address while deleting his email during
inbox cleaning in negligence, above all the employer not even ready to pay
for such 3rd party tools.

Please accept my apology in this regard. Once again I am sorry! The
recommended site sure does seem to be productive!

Thanks!

--

Best Regards,
FARAZ A. QURESHI
 
R

Roady [MVP]

Hi Faraz,

Apology accepted.

Good luck with the boss and the client!
If you're using Exchange with a retention period, then your boss might still
be able to recover the email directly via Tools-> Recover Deleted Items.
This way you won't need to dig through backups ;-)
 
F

FARAZ QURESHI

Yes! I am on EXCHANGE using Outlook 2007!
Thanx a lot :)

Just came across the Gordon's technique of Outlook.nk2 as well, to be
located on my other computer or my boss'?

Thanx again!

--

Best Regards,
FARAZ A. QURESHI
 
B

Brian Tillman [MVP - Outlook]

Any sources for structure and procedures of codes as samples for Outlook
2007
on net?

In addition to the web site RObert have you, also see
news://msnews.microsoft.com/microsoft.public.outlook.program_vba
 
F

FARAZ QURESHI

Thanx Brian,

Seems to be a great discovery, however upon inserting
news://msnews.microsoft.com/microsoft.public.outlook.program_vba
in the address bar the OUTLOOK EXPRESS version opens which is not the
default program. I am using OL2007 and I am on an exchange server.

Any other way?

--

Best Regards,
FARAZ A. QURESHI
 
R

Roady [MVP]

That's correct behavior; Outlook isn't a news client.
There are several 3rd party addins that you can use for Outlook to support
NNTP accounts.
If newsgroups access is important for (a specific part of) your company,
then you can also consider to have Exchange collect the newsgroups for you.
Then you can access them via your Public Folders in Outlook.
Personally I'm using Windows Live Mail to access these newsgroups.
 
F

FARAZ QURESHI

Thanx buddy!
That means Outlook Express is a newsclient? Never had any idea about
newsgroups.
How and what should I tell the IT Administrator in this regard so as to
enable me to access such newsgroup?

--

Best Regards,
FARAZ A. QURESHI
 
R

Roady [MVP]

You're welcome :)
How and what should I tell the IT Administrator in this regard so as to
enable me to access such newsgroup?
Say you need it to answer all the ... questions of the CEO :-D

If you're going to use OE or WLM for it, all they have to do is allow the
NNTP protocol or port (119) for you. Configuring on the Exchange server
probably take them some more time to plan.



FARAZ QURESHI said:
Thanx buddy!
That means Outlook Express is a newsclient? Never had any idea about
newsgroups.
How and what should I tell the IT Administrator in this regard so as to
enable me to access such newsgroup?

--

Best Regards,
FARAZ A. QURESHI
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top