Try GroupBox1.Text = String.Format("Accounts [ " & TextBox2.Text.Count & " ]") Catch ex As Exception End Try