> ## Content Index
> Fetch the complete content index at: https://nolongerset.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Clearing a List Box in Access
- URL: https://nolongerset.com/clearing-a-list-box-in-access/
- Published: 2020-12-22T03:41:04.000Z
- Updated: 2026-05-08T13:07:16.000Z
- Description: Sometimes you need to wipe the slate clean and start fresh. Here's a simple function to do just that for an Access list box.
- Author: Mike Wolfe
- Tags: Code Library, #FormFunctions, Basic, #Import 2026-05-20 02:59

Nothing fancy here. Just a simple function to clear the selections from a ListBox.

```vba
Function ClearListBox(LBox As ListBox)
    Dim Item As Variant
    For Each Item In LBox.ItemsSelected
        LBox.Selected(Item) = False
    Next Item
End Function
```

*Image by [ARTEM DA PICTURES](https://pixabay.com/users/dapictures%5Fteam-4981954/?utm%5Fsource=link-attribution&utm%5Fmedium=referral&utm%5Fcampaign=image&utm%5Fcontent=2683845) from [Pixabay](https://pixabay.com/?utm%5Fsource=link-attribution&utm%5Fmedium=referral&utm%5Fcampaign=image&utm%5Fcontent=2683845)*