|How to determine which Command Bar button was clicked?||
Make use of the ActionControl property
of the command bar object. ActionControl is crucial property to determine
which button was pressed. Assume you have three buttons. All invoking the
same macro but having unique tags then the code to determine which button
was pressed would be something like this
Copyright 1999-2022 (c) Shyam Pillai. All rights reserved.