| Loops allow you do run the same code over and over. Loops have an exit condition otherwise they're infinite loops To process all rows in a spreadsheet you can use a loop r = findlastrow(1) for i = 2 to r ... do something next or r = findlastrow(1) range("A2").select Do While Activecell.Row <= r ' do something activecell.offset(1,0).Select Loop GetNextRow() ![]() |