I'm typing from my phone now so it's slightly harder to code.

But look at this:
http://support.microsoft.com/kb/142126

Ws_count =..... And down to Next I should be in each of your if statement or else statement.
And your currect code should be where microsoft page tells your code to be.

Hope it makes sense