Program won't stop

  • Thread starter Thread starter jazzzbo
  • Start date Start date
J

jazzzbo

I tried to use a program that builds a telephone directory. It was built
a couple of years ago, on Vista. When I switched it over to Win 7, it
works (I've stepped through it using Break commands) but it just won't stop.

The area of interest is the following From...Next statements.

For m= 1 to 26 (Letters in the alphabet)
....
....
....
Next
End
End Sub

For some reason it won't stop at 26 and just keeps going.

Is this a Win 7 problem, or is there something else that could have
happened.

Jim Berglund
 
Can you post your code that is inside the loop? Without it we can't
determine the problem exactly, thus we are left to guess the problem.

Do you have anything in the loop that changes the value of m?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top