Set list boxes Multi select (1 Viewer)

Infinite

More left to learn.
Local time
Today, 07:49
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!
 

CJ_London

Super Moderator
Staff member
Local time
Today, 14:49
Joined
Feb 19, 2013
Messages
16,553
not sure this is a property you can change via vba but need to do in form design mode - in the properties other tab.
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 07:49
Joined
Aug 30, 2003
Messages
36,118
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

Top Bottom