vb Code:
  1. Private Sub DSAddUsersList()
  2.         Dim EndProd As String
  3.         Dim UserName As String
  4.         Dim HomePath As String
  5.         Dim NewLines As New List(Of String)
  6.         Dim myquote As String = """"
  7.  
  8.         If Me.rtbMain.Lines.GetUpperBound(0) > 0 Then
  9.             For Each line As String In Me.rtbMain.Lines
  10.                 UserName = line
  11.                 HomePath = tboHomePath.Text & "\" & UserName
  12.  
  13.                 EndProd = "DSADD User " & myquote & "cn=test2,ou=Lerroystest" & myquote & ""
  14.                 NewLines.Add(EndProd)
  15.             Next
  16.             Me.rtbMain.Lines = NewLines.ToArray
  17.         Else
  18.             MsgBox("There is no data inside the textbox for you to manipulate!")
  19.         End If
  20.  
  21.     End Sub

This basically (When the "EndProd =" is finished it will manipulate all sorts of text boxes etc I have already pre-populated.

But if I type something into the first line of the richtextbox and then press the button (which then calls this function).