I am running the macro on my Win 10 PC and it works fine, but I tried it on y wife's Win 10 PC and It does not run. Below is a screen print of the errors. I would appreciate you suggesting how to fix the problem.
Thank you!
Diane,
Thank you so much, the macro you supplied works almost exactly thy way I want. The email that is deleted goes in the the "deleted items" folder in my Exchange email account but I would prefer it goes into the "trash" folder in my IMAP account. The email item is in the IMAP account to...
I am sorry to bug you but I added it as shown below but I get an error 13 Type mismatch. Also, I thought of another minor item for the macro. Can you also give me instruction on making the moved email in the trash as "read"?
Again, thanks for your help.
Sub Save_Email_as_MSG()
Option...
I am sorry but I do not see object name in the macro, below is the entire macro I am using which is identical to the macro you so kindly posted.
Sub Save_Email_as_MSG()
Option Explicit
Public Sub SaveMessageAsMsg()
Dim oMail As Outlook.MailItem
Dim objItem As Object
Dim sPath As String...
I pasted in "objectname.Delete" and I get an run time error 424 - Object required. I then tried pasting in
objDelFolder = Session.GetDefaultFolder(olFolderDeletedItems))
objectname.move objDelFolder
and the first line shows in red
Please help further
I found a macro written by Diane Poremsky which is almost 100% of what I want. I would to add to the macro that the selected email(s) after saving to a folder be moved to the trash folder in Outlook. Can someone tell me how to modify the macro?
Also, is there a good site that I can go to so I...
Thanks that works fine.
I think you previously said that you had another macro which would add contacts and calendar items to an existing PST file rather than creating a new PST file each time. If you have that macro I would appreciate you proving a link
I was not looking for mail backup but for calendar and contacts which the macro above does fine. I was hoping that someone would be able to tell me how I could modify the macro so that I could automatically have the PST file closed.
The macro that was suggested by Diane Poremsky above does a great job. I was hoping that she or someone else would tell me about automatically closing the PST file that was created.
When the macro is executed, it creates the PST as you indicated. The PST file is then automatically added to Outlook and remains open. Is there a way to modify the macro so the newly created PST can be automatically closed?
The macro worked great!. This accomplishes my goal almost 100%. The macro does exactly what it you said but it still requires me to manually start the process. Is there a way that this macro could be started on a scheduled basis? The other macro that you have which only copies new calendar...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.