문제

I need to save message to hard drive with outllok 2007, i need to expor the most recent message, to a folder in the .msg format, can u helpme ?

ty !

pd. using vba ! C:

도움이 되었습니까?

해결책

Sub saveIt()
    Dim m As MailItem
    Set m = Application.ActiveExplorer.CurrentFolder.Items.GetLast
    m.SaveAs "c:\temp\" & m.Subject & ".msg", olMSG
End Sub
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top