Guest User

Untitled

a guest
Aug 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1.  
  2. Function pokus(ParamArray vstup() As Variant) As Integer
  3.  
  4. Dim bunka As Variant
  5. Dim prvek As Variant
  6. Dim pocitadlo As Integer
  7.  
  8. pocitadlo = 0
  9.  
  10. For Each bunka In vstup()
  11. If IsObject(bunka) Then
  12. For Each prvek In bunka
  13.  
  14. If IsNumeric(prvek) Then
  15. pocitadlo = pocitadlo + 1
  16. End If
  17.  
  18. Next prvek
  19. End If
  20.  
  21. Next bunka
  22.  
  23. pokus = pocitadlo
  24.  
  25. End Function
Add Comment
Please, Sign In to add comment