Can anyone here tell me what is the current way to add items in listbox?
I have a userform, named userform1 and there, I created a listbox named listbox1.
In the code window for userform1, wrote following codes:
However when I open the listbox, those items are not displaying. Am I making any mistake?Sub ShowUserForm1() 'Fill the list box With UserForm1.ListBox1 .RowSource = "" .AddItem "January" .AddItem "February" .AddItem "March" End With UserForm1.Show End Sub
Regards,