user21136
Active Member
- Joined
- Sep 20, 2003
- Messages
- 325
Hi,
I'm trying to change the hour and minutes 00:00 of selected cells using 2 spin buttons (one for hour and one for minute).
Using a Control spin button this is what I have but it just changes the date
Any ideas please?
Cheers, Glenn.
I'm trying to change the hour and minutes 00:00 of selected cells using 2 spin buttons (one for hour and one for minute).
Using a Control spin button this is what I have but it just changes the date
Code:
Sub SpinButton1_GotFocus()
ActiveCell.Activate
End Sub
Sub SpinButton1_SpinUp()
With ActiveCell
.Value = .Value + 1
End With
End Sub
Sub SpinButton1_SpinDown()
With ActiveCell
.Value = .Value - 1
End With
End Sub
Any ideas please?
Cheers, Glenn.