Sub PlayerKeyIn(PlayerNum As Integer, ButtonType As String) Dim PlayerName As TextBox = "Player" + PlayerNum.ToString + "Name" 'String is not a Textbox error, of course... MsgBox(PlayerName.text)
Thanks in advance!
I should mention that I already have text boxes named "Player1Name", etc etc, so if I throw a 1 in there, it should work.

New Topic/Question
Reply



MultiQuote




|