setting error handling on control creation and deletion
Could you please help me on how I can set error handling and some sample code
if any:
when I create a 'menu item' and remove a 'menu item' or a control in a
worksheet,
here is the sample code that I used to remove the control:
Application.CommandBars("Worksheet Menu Bar").Controls("my control").Delete
Your help will be greatly appriciated.
|