View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
michelxld[_42_] michelxld[_42_] is offline
external usenet poster
 
Posts: 1
Default Listview Question


Re

and for the Selected item...

Dim i As Integer
For i = 1 To ListView1.ListItems.Count
ListView1.ListItems(i).EnsureVisible
If ListView1.SelectedItem.Index = ListView1.GetFirstVisible.Index The
Exit For
Next i


Regards
miche

--
michelxl
-----------------------------------------------------------------------
michelxld's Profile: http://www.excelforum.com/member.php...fo&userid=1736
View this thread: http://www.excelforum.com/showthread.php?threadid=49823