How to Let Users Resize Microsoft Access List Box Columns at Runtime
Question details
The user wants to allow end-users to dynamically adjust the width of list box columns while running a Microsoft Access database form.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Creating or optimizing user interfaces in Microsoft Access forms for better data visibility.
- Observed behavior
- Access list boxes lack a built-in property for runtime column resizing, requiring complex VBA workarounds or alternative UI designs.
Ensure you have design-view access to your Microsoft Access database (.accdb). Design modifications cannot be applied if you are running a compiled executable (.accde) file or using the Access Runtime environment.
Replace the List Box with a Datasheet Subform
The simplest and most reliable method to allow runtime column resizing is to use a subform set to Datasheet view instead of a standard list box control.
Because Microsoft Access does not natively support drag-to-resize columns in a standard list box, substituting it with a datasheet subform gives users the exact interactivity they expect without requiring any complex coding.
Right-click your main form in the navigation pane and select 'Design View', then delete the existing static list box.
Navigate to the Form Design ribbon, click the 'Subform/Subreport' icon, and draw the new control on your form where the list box used to be.
Use the Subform Wizard to bind the control to the exact same table or query that populated your original list box.
Select the subform, open the Property Sheet (F4), navigate to the Format tab, and change the 'Default View' property to 'Datasheet'.
Save your form and switch to 'Form View'. Users can now seamlessly click and drag the column headers to adjust widths.

Implement Custom VBA MouseMove Events
If your UI design strictly requires a list box instead of a subform, you can write custom VBA code to detect mouse coordinates and adjust column widths programmatically.
Looking for a Lightweight, Everyday Office Suite?
While Microsoft Access is a specialized tool for complex databases, everyday document creation shouldn't require complex troubleshooting. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Word, Excel, and PowerPoint, helping you handle your daily tasks with an intuitive, familiar interface.
- 1. Visit the WPS Website: Go to the official WPS Office website.
- 2. Download the Installer: Click the Free Download button to get the lightweight installation file.
- 3. Install and Work: Follow the on-screen instructions to install and instantly open your existing Office files.

Frequently Asked Questions
Why can't I resize list box columns in Access by default?
Microsoft Access list boxes are designed as static data display controls. Unlike Excel spreadsheets or Access datasheets, they do not include built-in, drag-and-drop properties for runtime column resizing.
Can users resize datasheet columns if the database is saved as an ACCDE file?
Yes. If you use a Datasheet subform, users can still manually drag and resize columns visually while using an ACCDE file or the Access Runtime. However, they cannot save these layout changes permanently.
Is an Access Split Form a good alternative to a standard list box?
Yes. A Split Form is an excellent alternative because it simultaneously displays a single-record input view and a datasheet view. The datasheet portion naturally allows users to sort, filter, and adjust column widths without any custom VBA code.




