Set list boxes Multi select

Infinite

More left to learn.
Local time
Today, 14:22
Joined
Mar 16, 2015
Messages
402
As the title says, I would like to know how to change list boxes multi-select to either A: Simple or B: Extended. Also, through VBA. I have tried:
Code:
Forms("Order Entry").Controls("Country").MultiSelect = 2 ' Extended.

and that doesn't work. Gives me a Run-time error 2448

Thanks for the help!
 
not sure this is a property you can change via vba but need to do in form design mode - in the properties other tab.
 
Confirming what CJ has said, from help:

This property can be set only in form Design view.

You may be able to set it via VBA (untested), but only in design view.
 

Users who are viewing this thread

Back
Top Bottom