Avatar of ANTHONY CHRISTI
ANTHONY CHRISTI
Flag for United States of America asked on

MS Access Using a Key for Multiple Selections

MS Access 2016 - I have a LIST BOX and the user wants to be able to Select multiple entries using the SHIFT Key. Example -1 to 100 entries.  He wants to select 20 to 30 with the shift key, and 50 to 55, etc.
Microsoft Access

Avatar of undefined
Last Comment
Jim Dettman (EE MVE)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
John Tsioumpris

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ANTHONY CHRISTI

ASKER
Thank you very Much.
Jim Dettman (EE MVE)

As John said, turn on the Multi-Select.  Then it's standard Windows key's.


1. Click first,hold shift, click on last.

2. Use Ctrl To select/un-select individual entires, etc.


 With multi select on, you'll need to use the Selected property to determine which have been selected for processing:


https://docs.microsoft.com/en-us/office/vba/api/access.listbox.selected


Jim.

Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy