For Loop in QTP July 4, 2015January 2, 2024InfallibleTechie Admin Sample Code: Dim rowcount for i=1 to rowcount Datatable.SetCurrentRow(i) '--- Code here Next