M
Michael Tissington
I'm seeing a strange issue with the Outlook Selection Object.
It seems that once I reference an item in the Selection object then that
object remains open until I release the Selection object.
For example (in brief)
Set Selections = ActiveExplorer.Selection
For Each Contact in Selections
Debug .Print Contact.FullName
Contact.Close
Set Contact = Nothing
' at this point the contact is still open
Next
Set Selections = Nothing ' this closes all the referenced Contacts
Is this by design or am I missing something .....
How do I force the Contact to be closed?
It seems that once I reference an item in the Selection object then that
object remains open until I release the Selection object.
For example (in brief)
Set Selections = ActiveExplorer.Selection
For Each Contact in Selections
Debug .Print Contact.FullName
Contact.Close
Set Contact = Nothing
' at this point the contact is still open
Next
Set Selections = Nothing ' this closes all the referenced Contacts
Is this by design or am I missing something .....
How do I force the Contact to be closed?