Hi guys,
I was searching through the archives to help me with a userform problem I was having. It seems as though a few other people had similar problems, but I can't get this to work. All I want to do is have my UserForm show dollar signs on the form.
The code I've been using, and fiddling with is:
Private Sub UserForm_Initialize()
TxtAvgUnitPrice.Text = Format(TxtAvgUnitPrice.Value, "$#,##")
End Sub
-I am not using a Control Source, if this makes it any easier to explain why I'm not getting the result I want.
Can anyone help with this?
I was searching through the archives to help me with a userform problem I was having. It seems as though a few other people had similar problems, but I can't get this to work. All I want to do is have my UserForm show dollar signs on the form.
The code I've been using, and fiddling with is:
Private Sub UserForm_Initialize()
TxtAvgUnitPrice.Text = Format(TxtAvgUnitPrice.Value, "$#,##")
End Sub
-I am not using a Control Source, if this makes it any easier to explain why I'm not getting the result I want.
Can anyone help with this?