Hey,
I'm perplexed... Why doesn't the code work? Error message: object required
Sub Button13_Click() ListBox21.AddItem Range("E167").Value End Sub
Hey,
I'm perplexed... Why doesn't the code work? Error message: object required
Sub Button13_Click() ListBox21.AddItem Range("E167").Value End Sub
Last edited by moomphas; 05-30-2018 at 06:10 AM.
Hello
May be the control "ListBox21" doesn't exist
It would be better if you upload sample of your file
< ----- Please click the little star * next to add reputation if my post helps you
Visit Forum : From Here
Sample attached
Try this.
Sheet1.ListBox21.ListFillRange = Range("E167:E167").Address
If posting code please use code tags, see here.
Thanks! Works, but I will add more items from E167 (it's a drop down), so this way makes me unable to add more items.
Perhaps
Sheet1.ListBox21.AddItem Range("E167").Value
Don
Please remember to mark your thread 'Solved' when appropriate.
thanks, works
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks