ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Looping through a Range In Excel (https://www.excelbanter.com/excel-programming/409213-looping-through-range-excel.html)

smartnhandsome

Looping through a Range In Excel
 
Can any one suggest a way to loop through an Excel worksheet rows till
i see a null in the contents of the cell Here is sort of suedo code.

Start
Worksheet("sheet").cell(row,col) < ""
Worksheet("sheet").range(namedrange).value=Workshe et("sheet").cell(row,col).value
end the loop



All times are GMT +1. The time now is 08:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com