How to re-set index in a list box?

  • Thread starter Thread starter Xfen
  • Start date Start date
X

Xfen

Hi there,

I want to re-set the index to 0 after each use of a list
box. My code is like this:

Me!List1.ListIndex = 0

I get run time error because the use of ListIndex is
incorrect.

What is the correct way?

Thanks.
 
I want to re-set the index to 0 after each use of a list
box. My code is like this:

Me!List1.ListIndex = 0

Try:

Me.List1.Value = Me.List1.ItemData(Abs(Me.List1.ColumnHeads))
 
Back
Top