Your original problem... (I don't know if anyone caught it cuz I didn't read ALL of the posts)... But it was pretty obvious. :)
[/code]If count% = 0[/code]
Should be
[/code]If count% = 0 Then [/code]
:)
That wasn't the problem at all. 'If count% = 0 ... EndIf' is perfectly normal syntax. [/code]If count% = 0[/code]
Should be
[/code]If count% = 0 Then [/code]
:)