To achive this we can simply use Find method of ControlCollection Class:

For each txtBoxName in draftTextBoxes
    Me.Controls.Find( txtBoxName , True)(0).Text = ShipData.DesignDraft

draftTextBoxes should be a string collection, holding names of text boxes to modify.

Disclaimer: is a participant in the Amazon Associates Program. We earn fees by advertising and linking to Read more on our privacy policy.