Quote Originally Posted by beginner5 View Post
So I changed the name of the outlook folder. The vba code also finds this outlook folder. But suddenly I get an error 13 "type mismatch".
Same thing happened to me but I figured out that not everything in my folder was a mailitem so I changed…

Dim Item As MailItem

to

Dim Item As Object

and now it works!