Hi,

I want to be able to hold a command button down and have it loop through the click event code so the user can easily scroll through the records..

For example, the code behind the Command1_Click is:

Code:
    '-- navigate selected items
    Select Case Index
        Case 0: 'move backward
            If x = 0 Then Exit Sub
            x = x - 1
            PopulateItem x
        Case 1: 'move forward
            If x + 1 = nCnt Then Exit Sub
            x = x + 1
            PopulateItem x
    End Select
I would want to be able to hold the button down and have it loop through the above code..

Thanks,

Dan