Hi,
i want to know the last row writed on excel to write after.
¿It´s possible to put something up of write range to know the last row writed on excel and write the answer in the cell where you put the cell to write in write range?
Thanks.
Hi,
i want to know the last row writed on excel to write after.
¿It´s possible to put something up of write range to know the last row writed on excel and write the answer in the cell where you put the cell to write in write range?
Thanks.
Hi @jfernandez
there are two ways to achieve this
Thanks
Hello @jfernandez ,
You can use append range to append the values to the existing excel (it will write into next row of the existing excel file).
If you want to know the last row index then you can use the below expression :
Index_val = item.Rows.Count+2 .
(Here +2 is added because excel index starts with 1 & 1st line will be a header usually)
Thanks it worked.
Great! Which ever method is worked for you, you can mark it as solution for others reference.
Regards,
Rohith
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.