• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Move msg into folder from hard drive

I have a load of .msg files from an outlook folder I would like to re-import into a particular folder in outlook.

I know I could simply drag and drop all the files, however I would like to do it by code.

I have managed to copy mailItems between folders in VBA and assume its roughly the same, but don't know how to open an mailItem from a harddrive. I assumed it would have been something like:-
dim tmpMailItem as MailItem
tmpMailItem.open "d:\msg3223.msg"

Open in new window


Anyone have any ideas?

Thank you
0
tonelm54
Asked:
tonelm54
1 Solution
 
Boyd (HiTechCoach) Trimmell, Microsoft Access MVPCommented:
All the Outlook gurus I know all recommend using the  GetMessageFromMsgFile function in this utility: http://www.dimastr.com/redemption/home.htm

Redemption can:
Import MSG, MIME (EML/RFC822), vCard, iCalendar and TNEF files
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now