Forum Discussion

Vivek72's avatar
Vivek72
Contributor
10 years ago
Solved

how to add values of indexes 0 to 10 in vbscript

Hi



I am looking for simple function that gives total count of values in a column from row 1 to 10.



For i = 0 to 10

value = Sys.Obj.item(i) .count

What i want is total count from 0 to 10

Thanks in advance


 




  • Value=0

    For i = 1 to 10

        value = Value + Sys.Obj.item(i) .count

    Next