3

I believe you need to specify the two optional parameters to the Find method: documentBars.Find(cmdID, false, false); From the Documentation: noRecurse Use False to search all menus and toolbars for the item; otherwise use True. [Optional] noCreate Use False if you want the item to get instantiated if it isn't already; otherwise use True. [Optional] ...


Only top voted, non community-wiki answers of a minimum length are eligible