Reputation: 788
this is definitely a beginners question.
I would like to know how can I show in my userform only 1 value.
I have tried following but it wont go through - it needs at least 2 values.
ListBox.List = Application.Worksheets("Můj_Ranking").Range("Y5").Value
Upvotes: 1
Views: 110
Reputation: 14537
Just use .AddItem
:
ListBox.AddItem Application.Worksheets("Můj_Ranking").Range("Y5").Value
Upvotes: 1