PDA

View Full Version : Making a settable clock in VBA



ryanbgb22
02-12-2010, 03:23 PM
I need to make a clock that works off the system time when ran, but also has an option to set. It needs to have a set button, a reset button which makes it go back to system time, and buttons to change the hours and minutes separately. It also needs to display am/pm.

I honestly have no Idea where to begin. If someone wants to make up a program for me I'd have no problem paying them for their time via paypal....But like I said any help is greatly appreciated.

This is all I have so far.

Private Sub Label1_click()
Label1.Caption = hour(Time)
End Sub

Private Sub Label2_Click()
Label2.Caption = minute(Time)
End Sub

Private Sub Reset_Click()
Label1.Caption = hour(Time)
Label2.Caption = minute(Time)
End Sub

mdmackillop
02-14-2010, 05:28 AM
A simple userform version