تمام أستاذى الفاضل ، جزاك الله خيرا
لكنى لاحظت فقط أنه يضيف يومين مع الضغطه الواحده على الزر وكذلك يضيف ساعتين بالضغط على الزر الآخر
لكنى تغلبت عليها بهذا التعديل
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
'KeyCode = 33 vbKeyPageUp PAGE UP key
'KeyCode = 34 vbKeyPageDown PAGE DOWN key
'KeyCode = 107 vbKeyAdd PLUS SIGN (+) key
'KeyCode = 109 vbKeySubtract MINUS SIGN (-) key
'KeyCode = 38 vbKeyUp UP ARROW key
'KeyCode = 40 vbKeyDown DOWN ARROW key
If KeyCode = 107 Then
tim = tim + 0.020833
ElseIf KeyCode = 109 Then
tim = tim - 0.020833
'ElseIf KeyCode = 33 Then
ElseIf KeyCode = 38 Then
tim = tim + 0.5
'ElseIf KeyCode = 34 Then
ElseIf KeyCode = 40 Then
tim = tim - 0.5
End If
End Sub