LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default delete dynamically created combo box

Hi Jigs,

This might work:

Sub Shapes1()
'Delete all Objects except Comments
On Error Resume Next
ActiveSheet.DrawingObjects.Visible = True
ActiveSheet.DrawingObjects.Delete
On Error GoTo 0
End Sub


Ewan.

"jigs d" wrote:

hi all,
i have written code in macro which will dynamically add combo box and its
events when worksheet gets activated.
now i want that when worksheet gets deactivated, all the dynamically created
combo box shd be deleted.

please suggest me something.
any help will be greatly appreciated
thanks .
jigs d


 
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
How do I call a dynamically created String in a VBA Sub [email protected] Excel Programming 4 December 25th 06 02:36 PM
dynamically created listbox clem Excel Programming 3 September 26th 06 03:30 PM
Scaling a chart that has been dynamically created in vb Mark Charts and Charting in Excel 3 May 27th 05 08:16 PM
Back color of dynamically-created buttons simon Excel Programming 2 April 11th 05 11:44 AM


All times are GMT +1. The time now is 01:38 AM.

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

About Us

"It's about Microsoft Excel"