Thread: if then loop
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
[email protected] sarasotavince@yahoo.com is offline
external usenet poster
 
Posts: 5
Default if then loop

So, I need to change the second i to something less than 256?
Believe it or not, the first piece of code works, but I want to do it
correctly.
And since my post, I got the second piece of code to work with the
Cells (i, i) = i code
But,
Since I am only searching one column on every row, can I use:
Cells(i, 2) = i
Because I tried that and it did not work

Thanks, all of the quick replies are most helpful!

Vince