Hi Anyone,
I'm using the following code to get the value as g/dl in my userform. I want the number to appear 1.0g/dl after I press the tab button. Suppose I write 2 in the txtbox, I want the number to be 2.0g/dl and if I write 2.1 it to be 2.1g/dl and so on.
Any help would be kindly appreciated.Private Sub txtweight_AfterUpdate() If IsNumeric(txttxtweight.Value) Then txtRecipientHaemoglobin.Value = txtweight.Value + " g/dl" End If End Sub
Regards
Fiza