for i = 1 to lvw_table.rowcount if lvw_table.row(i).subitems(2).text = "...." * do something endif endfor