cancel
Showing results for 
Search instead for 
Did you mean: 

Get Worksheet as collection with worksheet row number as field

LaurentDELOBEL2
Level 3
Hello,

I have the following scenario which I do not know how to deal with.

I have to apply filter in an excel worksheet. Once I applied this filter, I have to set yes or no in the filtered column C depending the value in the filtered column B. 
In order to set the value yes or no in column C I need to know the row number of the cell
Is there any code I can use to add one more column in the collection in order to get this row number when I use get worksheet as collection ?

Thanks by advance

------------------------------
Laurent DELOBELLE
------------------------------
1 REPLY 1

EmersonF
MVP
hello, try using the get last row action with the filtered column, it should give you the amount of visible row. or you can use the auto fill action to make it "generate" a counter, from the first line to the last visible line,

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil