To detect when a folder is switched in the Explorer you'd use the
Explorer.BeforeFolderSwitch() event. That passes you NewFolder As Object,
where NewFolder is the folder being switched to.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Peter T" peter_t@discussions wrote in message
...
Hi Ken,
Outlook 2003 (sorry I should have said)
I've got this far
Dim cb As CommandBar
Set cb = Application.ActiveExplorer.CommandBars("ESET Smart Security")
Does changing the current folder trigger some event in which the visible
property of the commandbar can be changed, or is there some other way to
do it.
Regards,
Peter T