Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I have combobox to which I add options on first itireation by Additem property. On next iteration, the old values shoudl be cleared but I cannot use Clear method, its giving error. I later found that Clear method fails for comboboxes created at design time. Now on second iteration , although new values are added but values form previous additon remain( which are totally irrelevant in new context) How do I clear the previous options of dropdownlist associated with the combobox TI Shilps |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Brian, but I have already stated that I am not able to stand Clear method as it is giving error. And the Combobox is on the worksheet , not on a form
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you may need to copy/paste your setup code so we can see whic
control you are using. Perhaps this is what you want, although it is a DropDown :- Set MyDropDown = ActiveSheet.Shapes("Drop Down1") MyDropDown.ControlFormat.RemoveAllItem -- Message posted from http://www.ExcelForum.com |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Brian I am adding the ComboBox from the control ToolBox and I think we cannot use the Shapes/Control Format property for that.
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Clear Contents | Setting up and Configuration of Excel | |||
Clear Contents | Excel Discussion (Misc queries) | |||
Code to clear contents | Excel Worksheet Functions | |||
Clear Combobox | Excel Programming | |||
xlClipboard Clear Contents | Excel Programming |