Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Program won't end in Win7 (http://www.outlookbanter.com/outlook-vba/99218-program-wont-end-win7.html)

Jim Berglund January 20th 10 02:58 AM

Program won't end in Win7
 
I have an Excel 2007 VBA program that creates a phone directory. It was
built and ran fine in Vista. Now it won't end. (perpetual running, creating
blank entries, I guess)

The key area is in a For...Next End statement.

For m= 1 to 26 (Letters from A to Z)
....
....
Next
End
End Sub

Anything I need to do that is special for Win 7?
Thanks,
Jim Berglund


Michael Bauer [MVP - Outlook] January 20th 10 08:30 AM

Program won't end in Win7
 


I doubt it's due to Windows. Key is what happens within the loop.

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
http://www.vboffice.net/product.html?pub=6&lang=en


Am Tue, 19 Jan 2010 19:58:07 -0700 schrieb Jim Berglund:

I have an Excel 2007 VBA program that creates a phone directory. It was
built and ran fine in Vista. Now it won't end. (perpetual running,

creating
blank entries, I guess)

The key area is in a For...Next End statement.

For m= 1 to 26 (Letters from A to Z)
...
...
Next
End
End Sub

Anything I need to do that is special for Win 7?
Thanks,
Jim Berglund



All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com