G
Guest
Many hours after running code, Outlook has an error message upon opening
(each time it opens now--even though the code ran once hours ago) that the
Personal Folder was not closed properly, and goes through a 6 minute
assessment and fix, and then finally opens.
Do ALL of these "sets" need to be Set to = Nothing at the end of the
routine, or just the myOlApp?
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myPersonal = myNameSpace.Folders("Personal Folders2")
(each time it opens now--even though the code ran once hours ago) that the
Personal Folder was not closed properly, and goes through a 6 minute
assessment and fix, and then finally opens.
Do ALL of these "sets" need to be Set to = Nothing at the end of the
routine, or just the myOlApp?
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myPersonal = myNameSpace.Folders("Personal Folders2")