Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. Dim wiersz As Integer
  2. Dim licznik As Integer
  3. wiersz = Arkusz1.Cells(1, 10)
  4. wiersz = wiersz + 1
  5. If ((TextBox1.Text = "") Or (TextBox2.Text = "") Or (TextBox3.Text = "") Or (TextBox4.Text = "") Or (TextBox5.Text = "")) Then
  6. MsgBox ("Wprowadz dane")
  7. Else
  8. Arkusz1.Cells(wiersz, 1) = TextBox1
  9. Arkusz1.Cells(wiersz, 2) = TextBox2
  10. Arkusz1.Cells(wiersz, 3) = TextBox3
  11. Arkusz1.Cells(wiersz, 4) = TextBox4
  12. Arkusz1.Cells(wiersz, 5) = TextBox5
  13.  
  14. TextBox1.Text = ""
  15. TextBox2.Text = ""
  16. TextBox3.Text = ""
  17. TextBox4.Text = ""
  18. TextBox5.Text = ""
  19. Arkusz1.Cells(1, 10) = wiersz
  20. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement