Looping through a Range In Excel

S

smartnhandsome

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=Worksheet("sheet").cell(row,col).value
end the loop
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top