I have some Listboxes on my UserForm and I'd like to have a function that does something to them.
or something like this...
sub test (myListBox as ListBox)
when i call that function it tells me "runtime error 424: object needed" (or something similar, sry, i have the german version...)
in debugging mode it tells me the listbox i try to edit is either Null, when its empty, or the item, that i added previously (in that case a string)
ive already searched the internetz for this, and found some similar problems with solutions, like that the listbox isnt even a listbox but an msforms.listbox but this doenst work for me (same error)
i dont get it, what im doing wrong...