Mmmm not to sure how to use that peice of code, i'm still learning vb.Here's what i have so far.

VB Code:
  1. Dim lCurrentRow As Long
  2.  
  3. Private Sub CommandButton1_Click()
  4. Dim LastRow As Object
  5. lCurrentRow = lCurrentRow + 1
  6.  
  7. ' Show contents of new row in the form:
  8.     TextBox2.Text = Cells(lCurrentRow, 1).Value
  9.    
  10.           Set LastRow = Sheet4.Range("B65536").End(xlUp)
  11.           LastRow.Offset(1, 0).Value = TextBox1.Value
  12.           MsgBox "One code written to Optimo stop Codes"
  13.           response = MsgBox("Do you want to enter another down time code?", _
  14.               vbYesNo)
  15.           If response = vbYes Then
  16.               TextBox1.Text = ""
  17.               TextBox1.SetFocus
  18.           Else
  19.               Unload Me
  20.           End If
  21.            ' Increment row number:
  22.    
  23.  
  24.     ' Show contents of new row in the form:
  25.     TextBox2.Text = Cells(lCurrentRow, 1).Value
  26.    
  27. End Sub
  28.  
  29.  
  30. Private Sub UserForm_Active()
  31. ' Read initial values from Row 1:
  32.     TextBox2.Text = Cells(1, 2).Value
  33.    
  34.      ' Read initial values from Row 1:
  35.     lCurrentRow = 1
  36.     TextBox2.Text = Cells(lCurrentRow, 1).Value
  37.    
  38.  
  39.  
  40. End Sub

So far it works the information is displayed in the textbox2 label but the formating is wrong, It's displaying 21:35:00 as 0.5416666666666.

how can i change this.?