General information
Category:
COM/DCOM and OLE Automation
Title:
Outloolk, MAPIFolder assigment renames folder instead
I'm using Outlook XP. Whenever I try to changes a MAPIFolder property via assignment, e.g., when trying to change the CurrentFolder property of an Explorer object like so:
.oExplorer.CurrentFolder = .oDestinationFolder
It simply renames .CurrentFolder to the name of .oDestinationFolder rather than performing the assignment, that is, it behaves as if I had coded
.oExplorer.CurrentFolder.Name = .oDestinationFolder.Name
Am I doing something wrong????
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only