How to Troubleshoot an Access List Box Click Event Not Working
Question details
The user needs to fix an Access list box on a main form that does not respond to click events, despite the same setup working on a different form.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Building or editing a Microsoft Access database form with VBA event procedures.
- Observed behavior
- The list box click event fails to trigger on the main form, ignoring user clicks.
Before troubleshooting, ensure your Access database is saved and compile your VBA project to check for any underlying code errors.
Verify List Box Properties and VBA Event Links
Ensure the list box is enabled, unlocked, and correctly linked to the VBA event procedure.
The most common reason a list box fails to trigger an event is a disconnect between the form control and the VBA backend, or restricted control properties.
Right-click your main form in the navigation pane and select 'Design View'.
Select the problematic list box and press F4 to open the Property Sheet. Under the Data tab, ensure 'Enabled' is set to Yes and 'Locked' is set to No.
Switch to the Event tab in the Property Sheet. Find the 'On Click' property and ensure it is set exactly to '[Event Procedure]'.
Click the ellipsis (...) next to the On Click property to open the VBA editor. Verify that the procedure name matches the control name exactly (e.g., ListBoxName_Click).

Check for Overlapping Controls or Form Layout Issues
Sometimes an invisible or transparent control overlays the list box, intercepting the click events.
Recreate the List Box Control
If the control itself is corrupted, replacing it with a new one can restore normal functionality.
Looking for a Lightweight Office Suite?
While Microsoft Access handles complex database management, for your everyday document, spreadsheet, and presentation needs, WPS Office provides a free, highly compatible, and lightweight alternative to Microsoft Office.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install WPS Office: Run the downloaded installer file and follow the on-screen instructions to complete the setup.
- 3. Open and Edit: Launch WPS Office and instantly open your existing Word, Excel, or PowerPoint files without losing formatting.

Frequently Asked Questions
Why does my VBA code run on one Access form but not another?
This usually happens due to mismatched control names, disconnected event properties (such as a missing '[Event Procedure]' tag in the property sheet), or form-level properties like 'Allow Edits' being set to No.
Can a disabled list box still trigger a click event?
No. If a list box's 'Enabled' property is set to No in the Data tab, it cannot receive focus or respond to user interactions, meaning the On Click event will never fire.
How do I ensure my VBA event name matches the list box?
In the VBA editor, the subroutine must be exactly named `YourListBoxName_Click()`. If you rename the list box on the form design view, you must also manually update the corresponding VBA event name to match.




