Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete or Clear RowSource

Status
Not open for further replies.

mtroche

Civil/Environmental
Joined
Jun 4, 2001
Messages
39
Location
PR
How do I delete or clear a rowsource from a combobox? I have a userform called "A" and a combobox called "B". I am trying to use this command, but it doesn't works:

A.B.RowSource = " "

Any suggestion will be very helpful because I have no idea on how to do that.

Att.
MTroche
 
Hello,

When do you want to clear the combobox. The following code will clear it when the userform is activated.

Private Sub UserForm_Activate()
B.RowSource = ""
End Sub

Does this suit your needs or not?



----------------------------------
Hope this helps.
----------------------------------

maybe only a drafter
but the best user at this company!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top