listbox values

  1. J

    Remove Listbox Item based on value

    Hi I have this code: Private Sub removeModel() For i = 0 To ListBox1.ListCount - 1 If ListBox1.List(i) <> "Model" Then ListBox1.RemoveItem i End If Next End Sub it does the exact opposite of what I want. I would like everything to remain but the item named "model"...
  2. B

    Update range in worksheets based on selections in userform listbox

    I am using a listbox in a user form that is being populated with two values from each worksheet in a workbook, the value in range Y1 (Product Name) and the value in range A1. The box is populating great, but I want users to be able to edit the value in A1 through the userform. I am using...
  3. D

    Display unique values in Listbox

    I have a list on a worksheet: NameLast NameFirst Doe John Smith Betty Henry Bill Chen Paul Doe John Henry Bill I don't want to show the duplicate names in the list box. Is there a way to...
  4. J

    Listbox List All Found Items Only

    Hi, I would like a script which will put all found search items in a listbox. Basically I search for whatever value I type in textbox1 and I want listbox1 to return all the results. my search code is: Cells.Find(What:=TextBox1.Value, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _...
  5. N

    Populate ListBox with Column Headers

    Hi, I have a row of data that I want to use in a ListBox. Lets say Row1 Column 1 to Column14 - "A1:N1" I have the Range three ways: A horizontal named range "Choices" A horizontal array of the Values of the range. A vertical array of the Values of the range. I am trying to populate a listbox...
  6. J

    Copy Listbox Values To Cells

    Can anyone please help with a listbox which copies the listbox values/ rows into column A on the SELETED worksheet .

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top