SOLUTION FOUND AS FOLLOWS:<br>
<br>
Module:<br>
<br>
' Convert any value into currency format. If the<br>
' value does not make sense, return 0.00.<br>
Public Function cvCur(ByVal Value As Variant) As Currency<br>
On Error Resume Next<br>
cvCur = CCur(Value)<br>
If Err.Number <> 0 Then cvCur = 0<br>
End Function<br>
<br>
In the textbox requiring the Currency put the following code:<br>
<br>
Private Sub txtCurrency_Change()<br>
txtCurrency.Text = Format$(cvCur(txtCurrency.Text), "Currency"<br>
<br>
End Sub<br>
<br>
I hope this code is of help to somebody. I know I couldn't find it anywhere on the web at all.<br>
<br>
Good Luck
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.