Hi
Can't u just call the calculation subroutine from the Validate event of the textbox?
Regards
Stuart