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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Email:How do I add the received date to the start of the subject l



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 11th 09, 09:53 PM posted to microsoft.public.outlook.program_forms
JohnW
external usenet poster
 
Posts: 7
Default Email:How do I add the received date to the start of the subject l

I would like to add the received date to incoming emails by clicking a button
(or key combination) on the open, received email. I want to position it in
front of the subject text. For example:-

Change
Subject: Software Problems

To
Subject: 2009_01_11_14_12 Software Problems.

Thanks,

John
--
John Whyte
Ads
  #2  
Old January 12th 09, 03:54 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Email:How do I add the received date to the start of the subject l

The macro called by the button would use code something like this:

Sub myCode()
Dim oMail As Outlook.MailItem

Set oMail = Application.ActiveInspector.CurrentItem
oMail.Subject = CStr(oMail.ReceivedTime) & " " & oMail.Subject
oMail.Save
End Sub

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"JohnW" wrote in message
...
I would like to add the received date to incoming emails by clicking a
button
(or key combination) on the open, received email. I want to position it
in
front of the subject text. For example:-

Change
Subject: Software Problems

To
Subject: 2009_01_11_14_12 Software Problems.

Thanks,

John
--
John Whyte


 




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
Manually change 'Date Sent', 'Date received' in messages ... how ? baxe0 Outlook and VBA 2 September 15th 15 02:02 PM
Change subject line in received email or saved email rburley Outlook Express 4 April 13th 07 02:49 PM
Manually change 'Date Sent', 'Date received' in messages ... how ? baxe0 Outlook - Using Forms 0 March 21st 07 03:46 PM
Calcualting the time between email received date and reply date Shanks Outlook - General Queries 3 February 22nd 07 04:11 AM
Best way to start a program when specific email received? Bill Outlook and VBA 6 February 1st 07 03:44 PM


All times are GMT +1. The time now is 07:11 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.