Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #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.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Handling - On Error GoTo doesn't trap error successfully David Excel Programming 9 February 16th 06 05:59 PM
Error handling with a handling routine ben Excel Programming 0 March 15th 05 03:01 PM
Control Deletion of Range Names Alex Hatzisavas[_5_] Excel Programming 0 September 22nd 04 08:55 PM
Control Deletion of Range Names Alex Hatzisavas[_4_] Excel Programming 1 September 22nd 04 09:36 AM
Dynamic Control Creation in VBA Asif[_3_] Excel Programming 2 December 9th 03 07:35 PM


All times are GMT +1. The time now is 01:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"