Write range error3

“C”+(Vendorread.Rows.indexof(CurrentRow)+2).ToString
I am writing this exp in the shell but its writing data in only c1
I want to write data In C2 And after again in loop C3
image
This is my excel sheet i want to write my data in a loop in status columnn

HI @Kuldeep_Pandey

Instead of using rowindex try using this property

image

Can you show or share the workflow you are using

cheers

image

I cant share my whole code

Hi @Kuldeep_Pandey

Can you try using the index property instead of rowindex

image

“C” + (index + 2).ToString

Create a index variable for the for loop in properties

cheers

I also want d in another write range

What i should write in index property

@Kuldeep_Pandey

the rowindex is returning -1 always …it is not able to search the row …so use index or use a loop counter

@Kuldeep_Pandey

press ctrl+k and create a variable…that stores the count of the loop basically

in the place of index property?

@Kuldeep_Pandey

index - variable type int32

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.