PDA

View Full Version : For...Each Loop Backwards?



mpadgett
07-11-2008, 01:15 PM
I'm using a For...Each loop in my Excel/VBA code to look in a specific column. Is there a way to make the For...Each loop start at the bottom of the column instead of the top?

Thanks,

Mike P.

Bob Phillips
07-11-2008, 01:17 PM
For i = LastRow To 1 Step -1

'do stuff
Next i