Hi all i have the following which works good on the dtb1.text but i have 23 textboxes i need it to do the same for. I just want the data input to be changed to currency in all textboxes.
dtb1, dtb2, dtb3 and so on up to 23
Can anyone help pleaaaase :)
Chris
dtb1, dtb2, dtb3 and so on up to 23
Code:
Private Sub dtb1_Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles dtb1.Leave
dtb1.Text = CDec(dtb1.Text).ToString("c")
End Sub
Chris