Ok. This should be easy.
I have a UserForm that has TextBox's for inputting a price (TextBox1) and an optional discount (TextBox2). The third TextBox (TextBox3) is then a simple calculation TextBox 1 - TextBox 2. So far, so good. The inputs are stored on the worksheet as they need to be recorded. ColA amount Col B discount ColC is the adjusted amount.
The TextBox s need to be formatted as currency and so I have used
and similar for TextBox2
This works for the non-calculated cells but not for the calculated ones. I have tried every combination formats but cannot get TextBox3 to format automatically and stay formatted.
I must be missing something, but what?
Bookmarks