Try using the after update event of the text box to reformat it, are you trying to use the value of the textbox and save it somewhere??