We use a shared mailbox, and I use the following code to insert text into the Subject line of received e-mails, so that colleagues know I am working on them:
On Error Resume Next
Dim strMessage As String
strMessage = "Joe is dealing with this request " & Now() & " - "
Set msg = Application.ActiveInspector.CurrentItem
msg.Subject = strMessage & msg.Subject
msg.Save
My problem is that the Now() formats as 'dd/mm/yy hh:mm:ss'
How do I control the way that Now() formats, i.e I might want to show it as 'dd mmm', or as 'dd/mm/yy hh:mm'
Any help appreciated
On Error Resume Next
Dim strMessage As String
strMessage = "Joe is dealing with this request " & Now() & " - "
Set msg = Application.ActiveInspector.CurrentItem
msg.Subject = strMessage & msg.Subject
msg.Save
My problem is that the Now() formats as 'dd/mm/yy hh:mm:ss'
How do I control the way that Now() formats, i.e I might want to show it as 'dd mmm', or as 'dd/mm/yy hh:mm'
Any help appreciated