Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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
Jun 4, 2001
39
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
 
Replies continue below

Recommended for you

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