Outlook 2010 VBA How to save message including attachment
问题 Hello am using the following code to save messages to a folder, however if a message has an attachment it does not work. I know if I manually move a message to the hard drive the attachment is still within the *.msg file. I think it is how I am saving the message in this particular section oMail.SaveAs sPath & sName, olMSG How can I alter the following code to do this through VBA. Sub SaveMessageAsMsg() Dim oMail As Outlook.MailItem Dim objItem As Object Dim sPath As String Dim dtDate As Date