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 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.
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.
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))
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.
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...
I would like an automated method to backup my Exchange calendar (Outlook.com account on my Win 10 Outlook 365 desktop).
If you have any suggestions on backing exchange calendar would appreciate it. If not then do you have a suggestion on how I can automatically have a POP calendar to mirror my...
Thanks, I was afraid that was going to be the answer. I am wondering if there might be a work around. Since I had an Outlook 2016 with the view that I wanted until I played with it, there must be a file that contains that view. Since I have another PC with Outlook 2013 that has the view that...
One of my PCs was recently upgraded to Office 365 and it had the screen like version 2, I then played around with the view and it's screen changed to version 1 and I cannot figure out how to get back to version 2, your help would be appreciated.