View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Joe Joe is offline
external usenet poster
 
Posts: 476
Default 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.