Adds navigation folders to a navigation group
#Include <OutlookEX_GUI.au3>
_OL_NavigationFolderAdd($oOL, $aFolders[, $iStartIndex = 0[, $iModuleType = Default]])
Parameters
$oOL | Outlook object returned by a preceding call to _OL_Open() |
$aFolders | Array holding the folders to be added to the navigation group. Please see Remarks for further information |
$iStartIndex | [optional] Index of the first item of $aFolders to be processed. Should be 0 or 1 (default = 0) |
$iModuleType | [optional] Type of the navigation module. Can be any of the OlNavigationModuleType enumeration (default = $olModuleMail) |
Return Value
Success: Number of processed navigation folders
Remarks
This function only works for Outlook 2007 and later.
Related
_OL_NavigationFolderRemove, _OL_NavigationFolderGet
See Also
https://docs.microsoft.com/en-us/office/vba/outlook/how-to/navigation/add-a-folder-to-the-favorite-folders-group; https://www.autoitscript.com/forum/topic/158418-outlookex-udf-help-support-iii/?do=findComment&comment=1344333