Here is the code I am using. Code: For i = 1 To tbnumberofitems Dim lbl As New Label lbl.Text = "Label " & CStr(i) lbl.Name = "lbl" & CStr(i) lbl.Parent = Me lbl.Location = New Point(_leftMargin, _topMargin + (i - 1) * _rowHeight) Dim txt As New TextBox txt.Name = "txt" & CStr(i) txt.Parent = Me txt.Location = New Point(_leftMargin + _labelColumnWidth, _topMargin + (i - 1) * _rowHeight) Next Now what I am trying to do is access the textbox text and store it into an array. I thought I could simply Code: Dim itemname(_numberOfItems) As String _numberOfItems(0) = txt1.text MsgBox(test) But it returns an error that txt1 doesn't exist, which is true. But it will be created by the program. How do I refer to an as of yet uncreated variable? Last question for a while, promise.