Villalobos
Active Member
Hello,
I record the data through Textbox1 and unfortunately the format of output cell is text (green triangle at the left top corner) instead of number.
How is it possible convert to number?
I record the data through Textbox1 and unfortunately the format of output cell is text (green triangle at the left top corner) instead of number.
How is it possible convert to number?
Code:
Private Sub CommandButton1_Click()
Dim LastRow As Object
Set LastRow = Munka2.Range("B65536").End(xlUp)
LastRow.Offset(1, 0).Value = TextBox1
MsgBox "Data has been recorded."
response = MsgBox("Would you like to continue?", _
vbYesNo)
If response = vbYes Then
Unload Me
UserForm1.Show
End If
ThisWorkbook.Save
If response = vbNo Then
End
End If
ThisWorkbook.Save
End Sub