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

Extract Subject,Sent From, Message from mailbox to Excel



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 20th 09, 02:12 PM posted to microsoft.public.outlook.program_vba
vkarthik21
external usenet poster
 
Posts: 1
Default Extract Subject,Sent From, Message from mailbox to Excel


Hi All,

First of all am not sure if this is the right forum for this posting
and as a programmer I thought maybe programmatically my issue might be
resolved hence the posting.

Here is the requirement. We would like to either create/add a add-in
that will extract the following information from a mailbox - Sent From,
Subject, Date, Message. and put it in a excel sheet by taking the given
date as the parameter and displaying the required attributes for the
last two days from the given date.

In one of our appilcations recently upgraded we have serveral SQL
Server Jobs running and sending out mails from a mailbox server. These
mails are composed of a particular format i.e.
1. Subject line -Interface execution Report - Interface Name
2. Message - Interface Name has been successful. Attached is the
message, or
(in case of failure) Interface Name has failed. Please contact system
administrator.

Now the problem here is the system is desiged such a way that for both
the scenarios it sends out the mail with the subject line and the
message may vary. And it is upon us to manually open the message and
check for the cause of failure. Now in order to avoid this we are
looking at having a program/add-in that when run for the given day gives
us the pertinet details in the excel sheet for the span of 2 days to
know the working of the interfaces.

Is there a better way of handling this issue? Please let us know. And
the outlook version is Outlook Office 2003. Also I would like to mention
that doing code change is really out of question as the client doesnt'
want any changes to be done through code currently.

Thanks in Advance.

Regards,
Karthik


--
vkarthik21
http://forums.slipstick.com/

Ads
  #2  
Old July 22nd 09, 09:53 AM posted to microsoft.public.outlook.program_vba
vkarthik21[_2_]
external usenet poster
 
Posts: 1
Default Extract Subject,Sent From, Message from mailbox to Excel


Just bumping the thread. Could someone please help? It is one of
important requirements.


--
vkarthik21
http://forums.slipstick.com/

  #3  
Old July 22nd 09, 04:47 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Extract Subject,Sent From, Message from mailbox to Excel



What is your question?

--
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 Mon, 20 Jul 2009 09:12:14 -0400 schrieb vkarthik21:

Hi All,

First of all am not sure if this is the right forum for this posting
and as a programmer I thought maybe programmatically my issue might be
resolved hence the posting.

Here is the requirement. We would like to either create/add a add-in
that will extract the following information from a mailbox - Sent From,
Subject, Date, Message. and put it in a excel sheet by taking the given
date as the parameter and displaying the required attributes for the
last two days from the given date.

In one of our appilcations recently upgraded we have serveral SQL
Server Jobs running and sending out mails from a mailbox server. These
mails are composed of a particular format i.e.
1. Subject line -Interface execution Report - Interface Name
2. Message - Interface Name has been successful. Attached is the
message, or
(in case of failure) Interface Name has failed. Please contact system
administrator.

Now the problem here is the system is desiged such a way that for both
the scenarios it sends out the mail with the subject line and the
message may vary. And it is upon us to manually open the message and
check for the cause of failure. Now in order to avoid this we are
looking at having a program/add-in that when run for the given day gives
us the pertinet details in the excel sheet for the span of 2 days to
know the working of the interfaces.

Is there a better way of handling this issue? Please let us know. And
the outlook version is Outlook Office 2003. Also I would like to mention
that doing code change is really out of question as the client doesnt'
want any changes to be done through code currently.

Thanks in Advance.

Regards,
Karthik

  #4  
Old July 23rd 09, 05:22 PM posted to microsoft.public.outlook.program_vba
vkarthik21[_3_]
external usenet poster
 
Posts: 1
Default Extract Subject,Sent From, Message from mailbox to Excel


Hi Michael,

How do we extract the following information from a mailbox - Sent
From,
Subject, Date, Message. and put it in a excel sheet by taking the
given
date as the parameter and displaying the required attributes for the
last two days from the given date

Regards,
Karthik
'Michael Bauer [MVP - Outlook Wrote:
;53248']What is your question?

--
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 Mon, 20 Jul 2009 09:12:14 -0400 schrieb vkarthik21:

Hi All,

First of all am not sure if this is the right forum for this posting
and as a programmer I thought maybe programmatically my issue might

be
resolved hence the posting.

Here is the requirement. We would like to either create/add a add-in
that will extract the following information from a mailbox - Sent

From,
Subject, Date, Message. and put it in a excel sheet by taking the

given
date as the parameter and displaying the required attributes for the
last two days from the given date.

In one of our appilcations recently upgraded we have serveral SQL
Server Jobs running and sending out mails from a mailbox server.

These
mails are composed of a particular format i.e.
1. Subject line -Interface execution Report - Interface Name
2. Message - Interface Name has been successful. Attached is the
message, or
(in case of failure) Interface Name has failed. Please contact

system
administrator.

Now the problem here is the system is desiged such a way that for

both
the scenarios it sends out the mail with the subject line and the
message may vary. And it is upon us to manually open the message and
check for the cause of failure. Now in order to avoid this we are
looking at having a program/add-in that when run for the given day

gives
us the pertinet details in the excel sheet for the span of 2 days to
know the working of the interfaces.

Is there a better way of handling this issue? Please let us know.

And
the outlook version is Outlook Office 2003. Also I would like to

mention
that doing code change is really out of question as the client

doesnt'
want any changes to be done through code currently.

Thanks in Advance.

Regards,
Karthik



--
vkarthik21
http://forums.slipstick.com/

  #5  
Old July 29th 09, 09:03 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default Extract Subject,Sent From, Message from mailbox to Excel



I still don't understand you. However, maybe you want to read data from one
selected email: You can access the MailItem via the ActiveExplorer.Selection
collection.

Please see the object browser (f2) for all the available properties exposed
by the MailItem object: Switch from All Libraries to Outlook, then select
MailItem in the left pane.

For working with Excel files, you can add the Excel library to your Outlook
project via Tools/References. Now you can also use the object browser to see
what objects and methods are exposed by Excel: For opening a workbook use
the Workbooks.Open function. And the Range object is used to access a cell
in the workbook and read/write its content (Value property).

--
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 Thu, 23 Jul 2009 12:22:22 -0400 schrieb vkarthik21:

Hi Michael,

How do we extract the following information from a mailbox - Sent
From,
Subject, Date, Message. and put it in a excel sheet by taking the
given
date as the parameter and displaying the required attributes for the
last two days from the given date

Regards,
Karthik
'Michael Bauer [MVP - Outlook Wrote:
;53248']What is your question?

--
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 Mon, 20 Jul 2009 09:12:14 -0400 schrieb vkarthik21:

Hi All,

First of all am not sure if this is the right forum for this posting
and as a programmer I thought maybe programmatically my issue might

be
resolved hence the posting.

Here is the requirement. We would like to either create/add a add-in
that will extract the following information from a mailbox - Sent

From,
Subject, Date, Message. and put it in a excel sheet by taking the

given
date as the parameter and displaying the required attributes for the
last two days from the given date.

In one of our appilcations recently upgraded we have serveral SQL
Server Jobs running and sending out mails from a mailbox server.

These
mails are composed of a particular format i.e.
1. Subject line -Interface execution Report - Interface Name
2. Message - Interface Name has been successful. Attached is the
message, or
(in case of failure) Interface Name has failed. Please contact

system
administrator.

Now the problem here is the system is desiged such a way that for

both
the scenarios it sends out the mail with the subject line and the
message may vary. And it is upon us to manually open the message and
check for the cause of failure. Now in order to avoid this we are
looking at having a program/add-in that when run for the given day

gives
us the pertinet details in the excel sheet for the span of 2 days to
know the working of the interfaces.

Is there a better way of handling this issue? Please let us know.

And
the outlook version is Outlook Office 2003. Also I would like to

mention
that doing code change is really out of question as the client

doesnt'
want any changes to be done through code currently.

Thanks in Advance.

Regards,
Karthik

  #6  
Old July 29th 09, 09:38 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Extract Subject,Sent From, Message from mailbox to Excel

You might find useful this article, which explains how to search over a date
range: http://www.outlookcode.com/article.aspx?id=30

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



Am Thu, 23 Jul 2009 12:22:22 -0400 schrieb vkarthik21:

Hi Michael,

How do we extract the following information from a mailbox - Sent
From,
Subject, Date, Message. and put it in a excel sheet by taking the
given
date as the parameter and displaying the required attributes for the
last two days from the given date



 




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
How to extract data from outlook into excel. VBA_Newbie Outlook - Using Forms 1 September 20th 08 06:04 AM
Macro to extract subject and sender name of messages in folder to Excel file bony_tony Outlook and VBA 0 March 7th 07 01:16 AM
Extract Folder Name From Outlook To Excel Vadhimoo Outlook and VBA 1 December 4th 06 06:09 AM
Code to extract subject line [email protected] Outlook and VBA 3 August 25th 06 06:54 PM
How can I extract share calender information to excel sheet TILLYCHIPS Outlook - Calandaring 1 April 17th 06 03:37 PM


All times are GMT +1. The time now is 01:53 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-2025 Outlook Banter.
The comments are property of their posters.