asked on
ASKER
ASKER
Private Sub UserForm_Initialize()
Dim D1 As Object, D2 As Object, D3 As Object, D4 As Object
Stop
Set OI = Worksheets("Items")
TV = OI.Range("X1").CurrentRegion
Set D1 = CreateObject("Scripting.Dictionary")
NL = UBound(TV, 1)
Set d = CreateObject("Scripting.Dictionary")
For i = 2 To NL
D1(TV(i, 1)) = ""
Next i
Me.ComboBox4.List = D1.keys
Me.ComboBox4.SetFocus
End Sub
ASKER
ASKER
Microsoft Excel topics include formulas, formatting, VBA macros and user-defined functions, and everything else related to the spreadsheet user interface, including error messages.
TRUSTED BY
gowflow