How about using a public variable and set it to the index value inside the procedure Megatron just posted. This way you can check this variable to see which textbox it was.