O objeto myItem
não existe.
Set myUnreadItems = myFolder.items.Restrict("[UnRead] = True")
If myUnreadItems.count = 0 Then
MsgBox "No unread mail in: " & myFolder
Exit Sub
End If
For i = myUnreadItems.count To 1 Step -1
Set myItem = myUnreadItems(i)