LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 489
Default Program won't stop

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?
--
Cheers,
Ryan


"jazzzbo" wrote:

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
.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I stop a program on startup in xp pro Dontgiveup62 Excel Discussion (Misc queries) 5 January 22nd 09 06:08 PM
How can I program an Trailing stop loss? johan Excel Programming 0 December 4th 08 11:56 AM
how to stop program in a big loop? miao jie Excel Programming 1 December 13th 04 12:32 PM
stop a program don bowyer Excel Programming 6 November 7th 04 05:20 PM
Stop a VB program from running Soterro Excel Programming 4 December 5th 03 07:25 PM


All times are GMT +1. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"