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
Next

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

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