Here is an Access2007 bug I just found.
I provide a “Select All” button to allow users to select all lines in a multi-select listbox. The code is very simple, as in this example:
————————————–
Dim N As Integer
For N = 0 To lstAttendees.ListCount – 1
lstAttendees.Selected(N) = True
Next N
——————————–
This has worked in all versions of Access until Access2007!
In Access2007, if the listbox has the “Column Headers” property set to True, it will “select” the header row also! Previous versions apparently did not allow the Selected property of the header row to be set.