[COLOR=#ff0000]Private Sub Delete_Click()[/COLOR]
Dim ws As Worksheet
Dim rng As Range
Set ws = ActiveSheet
Set rng = ws.Range("a2:I2")
rng.Delete Shift:=xlUp
ans = MsgBox("Do you want to continue?", vbYesNo)
If ans = vbYes Then
Call Update
Else
Unload EntryForm
End If
[COLOR=#ff0000]Private Sub Find_Next_Click()[/COLOR]
Call Update
End Sub
[COLOR=#ff0000]Private Sub Previous_Click()[/COLOR]
lngR = lngR - 2
Call Update
End Sub
[COLOR=#ff0000]Sub Update()[/COLOR]
If lngR = 0 Then
lngR = 2
Else
lngR = lngR + 1
End If
DateBox.Value = Sheet1.Range("A" & lngR).Text
Ball1.Value = Sheet1.Range("B" & lngR).Text
Ball2.Value = Sheet1.Range("C" & lngR).Text
Ball3.Value = Sheet1.Range("D" & lngR).Text
Ball4.Value = Sheet1.Range("E" & lngR).Text
Ball5.Value = Sheet1.Range("F" & lngR).Text
Power.Value = Sheet1.Range("G" & lngR).Text
PowerPlay.Value = Sheet1.Range("H" & lngR).Text
Winnings.Value = Sheet1.Range("I" & lngR).Text
End Sub
End Sub