Forum Discussion

Vivek72's avatar
Vivek72
Contributor
11 years ago

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 ...
  • murugans1011's avatar
    11 years ago
    Value=0

    For i = 1 to 10

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

    Next