Rowcount issue

Working with a WebListBox. I iterate the list and check for blanks, and then removed them. However the following code never enters the loop.

[code]Dim i as Integer

For i = lstData.RowCount-1 to 0

if lstData.List(i) = "" then


When walking it, it just jumps over the loop after the For statement. I know Rowcount has many items. Thoughts? TIA!!

Change “to” to “downto”?

Thanks. Figured it was something obvious.