I am trying to identify a textbox that has been clicked

using shapes.addtextbox i added a number of text boxes

I now wonder if when selected i can recognise that it is a textbox and select the associated cell instead