Just substitute your text1.text textbox where I have the variable "t" and it should work.
Forum Rules