Try this code:
Private Sub UserForm_Initialize()
Dim ListItems As Variant, i As Integer
With Me.ListBox1
.Clear
ListItems = Range("yourRangeName").Value
ListItems = Application.WorksheetFunction.Transpose(ListItems)
For i = 1 To UBound(ListItems)
.AddItem ListItems(i)
Next i
.ListIndex = -1
End With
End Sub
when you show the userform the listbox populates from your range
if you want to add items manually then you would use this code
Private Sub UserForm_Initialize()
With ListBox1
.AddItem "This"
.AddItem "Routes"
.AddItem "Cuts"
.AddItem "That"
.AddItem "TREAD TYPE"
.AddItem "Other"
.AddItem "Regular"
.AddItem "HWR"
.AddItem "Convex"
.AddItem "Lino Ready"
.AddItem "Stuff"
.AddItem "TOP HANGER"
.AddItem "Hello"
.AddItem "Add N.N."
.AddItem "No Nose"
.AddItem "Add Square N.N."
.AddItem "1 X 1 Notch"
.AddItem "There"
End With
End Sub
Bookmarks