05-29-2009, 12:08 AM
@ ViV_Karthy :
FYI , GetCellData() will not return an array (As it returns particular cell value itself)
@ Sreedevi:
For retrieving the Cell values of WebTable :
Step1: Find the rowcount of Webtable
Step2: Use for loop using this Rowcount
Step3: use GetCellData(i,2) & store the cell values into variable.
Example: (here i am trying to retrieve the values of Cell of column '2' for all rows)
FYI , GetCellData() will not return an array (As it returns particular cell value itself)
@ Sreedevi:
For retrieving the Cell values of WebTable :
Step1: Find the rowcount of Webtable
Step2: Use for loop using this Rowcount
Step3: use GetCellData(i,2) & store the cell values into variable.
Example: (here i am trying to retrieve the values of Cell of column '2' for all rows)
Code:
rc=Browser(..).Page(..).WebTable(..).RowCount
for i=1 to rc
Cell_Val=Browser(..).Page(..).WebTable(..).GetCellData(i,2)
Msgbox Cell_Val
Next