Just replace the code parts that use a Msgbox with the same values into Textboxes. To get the value 'Chimaera' you would refer to the text property of the node itself instead of an attribute but the rest should be the same.