![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hello-
Is there a way to automagically save the subject field from emails sent to a defined email address into an excel doc? Any help would be greatly appreciated. Thank you, bbkixx |
#2
|
|||
|
|||
![]()
To start, review my blog article to wire up your plumbing:
Getting a Handle on Your E-mails with VBA: http://blogs.officezealot.com/legaul...cles/2224.aspx Once you've done that, you'll be able to hook into the objMailItem_Send event, which is where you'll want to grab the objMailItem.Subject property value if any of the address in the objMailItem.Recipients collection matches what you are looking for. Then use some other code similar to this to open an Excel file: Dim objExcel As Object Set objExcel = CreateObject("Excel.Application") objExcel.Workbooks.Open "C:\Temp\Book1.xls" Check the Excel VBA documentation for further examples on writing to cells. -- Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration) Try Picture Attachments Wizard for Outlook: http://www.collaborativeinnovations.ca Blog: http://blogs.officezealot.com/legault/ "bbkixx" wrote: Hello- Is there a way to automagically save the subject field from emails sent to a defined email address into an excel doc? Any help would be greatly appreciated. Thank you, bbkixx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Saving the Categories in Contacts when Exporting to Excel | Debbie | Outlook - Using Contacts | 1 | June 14th 06 03:56 AM |
Outlook 2003 calendar not displaying text in subject line | Ronnie | Outlook - Calandaring | 1 | April 21st 06 10:33 AM |
sending rtf,doc,text as message body in outllook 2003 in vb.net | Digit Solver | Outlook - Using Forms | 3 | March 31st 06 03:37 PM |
how do I show the subject but hide the text of a meeting ? | debbied | Outlook - Calandaring | 0 | February 7th 06 03:07 PM |
Problems saving text in a text box | Dave Haymes | Outlook - Using Contacts | 1 | February 7th 06 12:58 PM |