Hi all,
I 've got a list box that I need to remove using a macro.
So far all my attempts to remove it has failed.
If someone can help, I'd be much obliged.
Thanks,Code:Dim Ctrl As Object With ActiveSheet For Each Ctrl In .Buttons Ctrl.Delete Next Ctrl For Each Ctrl In .DropDowns Ctrl.Delete Next Ctrl ' For Each Ctrl In .List ' also tried listbox 'and listbox(1).delete ' Ctrl.Delete ' Next Ctrl ' ListBox1.ListCount
BDB
Last edited by bdb1974; 03-16-2010 at 11:24 AM.
Hi BDB, close...
Code:For Each Ctrl In .ListBoxes Ctrl.Delete Next Ctrl
Thanks Paul,
That did it.
BDB
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks