A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Check sent email and reply if have specific words



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 20th 09, 04:37 AM posted to microsoft.public.outlook.program_vba
laavista
external usenet poster
 
Posts: 15
Default Check sent email and reply if have specific words

We have Outlook 2003. I need to use vba to check “sent emails” and if they
have specific words, e.g., “Interview Scheduled”, send a reply to different
addressees than the original sent email (same addressees each time, though).
I need to use “reply” as the addresses need the main content of the email,
but cannot receive the attachment.

I’m new to Outlook VBA. (I used Access VBA.)

Any help would be greatly appreciated.

Ads
  #2  
Old June 20th 09, 04:12 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Check sent email and reply if have specific words



See the ItemAdd event in the VBA help file. In that event check the body of
the item with the Instr function, and call it's Reply or maybe Forward
function. For both there's a sample in the help file as well.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 19 Jun 2009 19:37:02 -0700 schrieb laavista:

We have Outlook 2003. I need to use vba to check “sent emails” and if

they
have specific words, e.g., “Interview Scheduled”, send a reply to

different
addressees than the original sent email (same addressees each time,

though).
I need to use “reply” as the addresses need the main content of the

email,
but cannot receive the attachment.

I’m new to Outlook VBA. (I used Access VBA.)

Any help would be greatly appreciated.

  #3  
Old June 20th 09, 06:01 PM posted to microsoft.public.outlook.program_vba
laavista
external usenet poster
 
Posts: 15
Default Check sent email and reply if have specific words

Thank you so much for replying.

I will do that.



"Michael Bauer [MVP - Outlook]" wrote:



See the ItemAdd event in the VBA help file. In that event check the body of
the item with the Instr function, and call it's Reply or maybe Forward
function. For both there's a sample in the help file as well.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: http://www.vboffice.net/product.html?pub=6&lang=en


Am Fri, 19 Jun 2009 19:37:02 -0700 schrieb laavista:

We have Outlook 2003. I need to use vba to check “sent emails” and if

they
have specific words, e.g., “Interview Scheduled”, send a reply to

different
addressees than the original sent email (same addressees each time,

though).
I need to use “reply” as the addresses need the main content of the

email,
but cannot receive the attachment.

I’m new to Outlook VBA. (I used Access VBA.)

Any help would be greatly appreciated.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vba rule exception "except with specific words in the sender's add Ferriciean Outlook and VBA 2 June 4th 09 12:08 PM
Rule "with specific words.." and "reply with.." works inconsistent ppi Outlook - Installation 2 February 8th 08 07:01 PM
specific words list format JimB Outlook Express 1 July 3rd 07 05:15 PM
Customize Rules- Include 'AND' rather than 'OR' for specific words Harrow Outlook and VBA 1 December 11th 06 07:37 AM
How can I check/read/reply to email from my networked laptop? Wendy Outlook Express 8 March 13th 06 12:51 AM


All times are GMT +1. The time now is 08:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2025 Outlook Banter.
The comments are property of their posters.