I'd like to change the multiselect property of a listbox using code when the user clicks a button. VBA help lists a way of doing this:
Forms("Order Entry").Controls("Country").MultiSelect = 2
However, this doesn't work. My code won't even run when this line is in there. When I comment it out, the code does run....so clearly, this line is the problem. Any ideas?
Forms("Order Entry").Controls("Country").MultiSelect = 2
However, this doesn't work. My code won't even run when this line is in there. When I comment it out, the code does run....so clearly, this line is the problem. Any ideas?