Thank you. It took me a minute to see what it was doing, but that worked great. Replaced "This" with TextBoxCategory.Text and filled tbLexicon by testing if gotNode was true.