Guest User

Untitled

a guest
Aug 7th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function sucetparam(ParamArray vstup() As Variant) As Long
  2. Dim pocitadlo As Long
  3. sucetparam = 0
  4. For Each prvek In vstup()
  5.  If IsObject(prvek) Then
  6.    For Each alabala In prvek
  7.    If IsNumeric(alabala) Then sucetparam = sucetparam + alabala
  8.    Next alabala
  9.  ElseIf IsNumeric(prvek) Then sucetparam = sucetparam + prvek
  10.  End If
  11. Next prvek
  12. End Function
Add Comment
Please, Sign In to add comment