Quote Originally Posted by lynnnow
Kelly, I actually need only one OnAction since it deletes the toolbar that is created and shows the userform. This will be for any file that I open, so it is not a problem. Writing several DeleteToolbar codes will increase the module size. But as you can try executing the above code, you will see that another userform is not needed.
I'm so sorry you mistook my discussion of the multiple DeleteToolbar routines as a SERIOUS SUGGESTION. I was only trying to carry a flawed hypothetical idea to its logical conclusion to demonstrate how it was NOT a good idea.

You are right about the UserForm. Now that Tony and the other coder have supplied the property I was looking for but could not find (I was looking for something like CommandBar(x).activebutton), then your original problem is solved and you would not be forced into creating a UserForm.