Consulting

Results 1 to 2 of 2

Thread: Save Email as .msg file to Hard Drive

  1. #1
    VBAX Regular
    Joined
    Apr 2005
    Posts
    17
    Location

    Save Email as .msg file to Hard Drive

    Hi all

    Is it possible to make a macro thats save the selected email + attachment as a singel .msg file to a filelocation (not the same place every time) outside Outlook. Please help, notice I am new in VBA for Outlook

    Regards Rico

  2. #2
    VBAX Expert JP2112's Avatar
    Joined
    Oct 2008
    Location
    Astoria, NY
    Posts
    590
    Location
    Check out the MailItem.SaveAs Method, and use olMSG as the Type argument.

    http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx
    Regards,
    JP

    Read the FAQ
    Getting free help on the web
    My website
    Please use [vba][/vba] tags when posting code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •