Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
userform syntax
I'm trying to clear all comboboxes in one hit.
For Each ComboBox In UserForm1 .Value = "" Next ... would be great - if it worked! Can someone please help me wit h the syntax? TIA |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
userform syntax
For Each cb in UserForm1.Controls
If TypeOf cb Is MSForms.Combobox Then cb.Value = "" Next cb HTH Cordially Pascal "Newbie" a écrit dans le message de ... I'm trying to clear all comboboxes in one hit. For Each ComboBox In UserForm1 .Value = "" Next .. would be great - if it worked! Can someone please help me wit h the syntax? TIA |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
userform syntax
Try:
For Each ComboBox In UserForm1 .Clear Next "Newbie" wrote: I'm trying to clear all comboboxes in one hit. For Each ComboBox In UserForm1 .Value = "" Next .. would be great - if it worked! Can someone please help me wit h the syntax? TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
IF, THEN SYNTAX | Excel Worksheet Functions | |||
vba syntax | Excel Discussion (Misc queries) | |||
If then syntax | Excel Worksheet Functions | |||
Userform inside another userform | Excel Programming | |||
Help with Syntax UserForm TextBox | Excel Programming |