Dim x As Variant
Dim y As Variant
Dim z As Single
x = CDate(Clock.TextBox12) '12 is now time
y = CDate(Clock.TextBox11) '11 is form time + 9.30
z = Round((y - x) * 12, 4)
'If z < 0 Then z = z + 12
Clock.TextBox14 = z
Clock.TextBox14.Value = Clock.TextBox14.Value * 10000
Private Sub UserForm_Click()
With Label1
.Caption = Format(TimeValue(TextBox2.Text) - TimeValue(TextBox1.Text), "h:m:ss")
.Caption = Mid(.Caption, InStr(1, .Caption, ":") + 1)
End With
End Sub