View Single Post
 
Old 09-10-2020, 12:43 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Hmmm. I see the problem, but it can be addressed with a little vba jiggery pokery. Try the following Outlook macro which creates a temporary note with the added creation date from the original added in place of the modified date.



Code:
Sub PrintNote()
'Graham Mayor - https://www.gmayor.com - Last updated - 10 Sep 2020 

Dim olNote As Outlook.NoteItem
Dim olTempNote As Outlook.NoteItem
Dim dDate As Date
Dim strDate As String
    On Error Resume Next
    Select Case Outlook.Application.ActiveWindow.Class
        Case olInspector
            Set olNote = ActiveInspector.currentItem
        Case olExplorer
            Set olNote = Application.ActiveExplorer.Selection.Item(1)
    End Select
    dDate = Split(olNote.CreationTime, Chr(32))(0)
    strDate = "Created:" & vbTab & Format(CStr(dDate), "ddd ") & olNote.CreationTime
    Set olTempNote = CreateItem(olNoteItem)
    With olTempNote
        .Body = "Created:" & vbTab & Format(CStr(dDate), "ddd ") & _
                olNote.CreationTime & vbCr & vbCr & _
                olNote.Body
        .PrintOut
        .Delete
    End With
lbl_Exit:
    Set olNote = Nothing
    Set olTempNote = Nothing
    Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote