I have a list of json objects which needs to be iterated to populate the data into excel using VB script.
LR = %TestJsonObject.Count%
For i=0 To LR
sht.Range("C"&i+25).Value = "%TestJsonObject[0]['Key1']%"
But when i pass i in the place of 0 in the above line ,It throws error as the variable i not identified. i have tried escape character / , also tried to split using & but still it gives error. is there any way to pass the vb script run time variable inside power automate variable when used in VB script.
PS: i have a scenario as the each json is a row in excel and needs to be populated.