I have number of text boxes in a Windows form

textbox1,textbox2,textbox3 etc.

I want to retrieve the values from these textboxes dynamically

like => Dim txt as textbox

for i = 1 to 3
txt.name = "textbox" & i
msgbox txt.text
next

This is not working. Can you please help.
Thanks