Set LM = ListView1.ListItems(Index)
What is
Index
in the context of the timer method? Could it be you need wIndex instead? Also, place
Option Explicit
at the beginning of the module to avoid errors like this one.
Good luck!
You are using Index but it isn't defined anywhere (I can't see it in your example). So you would need to setup multiple timers, for example in the form load:
For i=1 to 10
Load Timer1(i)
Timer1(i).interval = 100
Timer1(i).enabled = true
Next i
The event handler would need the Index as parameter. Something like this:
Private Sub Timer1(Index As Integer)
' Timer code
End Sub