I am trying to make it so that the text in 4 textboxes are added to the last row of a table, and thought of this:

VB Code:
  1. Private Sub CommandButton1_Click()
  2. ColumnA = Range("A4:A1000")
  3. For Each c In ColumnA
  4.     If c = "" Then
  5.         c = TextBox1.Text
  6.         Exit For
  7.     End If
  8. Next c
  9. For Each c In Range("B4:B1000")
  10.     If c = "" Then
  11.         c = TextBox2.Text
  12.         Exit For
  13.     End If
  14. Next c
  15. For Each c In Range("C4:C1000")
  16.     If c = "" Then
  17.         c = TextBox3.Text
  18.         Exit For
  19.     End If
  20. Next c
  21. For Each c In Range("A4:A1000")
  22.     If c = "" Then
  23.         c = TextBox4.Text
  24.         Exit For
  25.     End If
  26. Next c
  27. End Sub
However it does absolutely nothing. Any ideas?