Retrieve Outlook folder clicked RRS feed

  • Question

  • Hello

    I try to allow or not to move Outlook folder (or Outlook folders if several are selected) according to specific folders I have created.

    I use MAPIFolderEvents_12_BeforeFolderMoveEventHandler event manage this action.

    My problem is that I don't succeed to retrieve the folder on which the action will be done.

    In Application.ActiveExplorer().CurrentFolder, there is the current folder. But with one current folder, in Outlook I can click on another folder and move this folder to another one. I can also select several folder and then move to another one. I need to retrieve the folder or the list of folders before they are moved

    How can I do that ?

    I need to get the solution running on Outlook 2010 up to 2016




    Sunday, April 21, 2019 3:30 PM