+ Reply to Thread
Results 1 to 3 of 3

Loop is stopping for no apparent reason.

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2010
    Posts
    31

    Loop is stopping for no apparent reason.

    I have created a macro, to loop through a worksheet and create seperate worksheets based on the data. It works but after it gets to a certain point in the attached worksheet it just stops.


    The worksheet is a dummy worksheet, but there are 19 sets of data on the worksheet. It stops after it copies the 9th set.

    If anyone has any ideas, it would be greatly helpful.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Melissa9; 10-02-2012 at 12:26 PM.

  2. #2
    Registered User
    Join Date
    08-15-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Loop is stopping for no apparent reason.

    I just stepped through this loop and it works when I step through it, however when I just run the macro it stops after getting so far. Any ideas would be greatly appreciated.

  3. #3
    Registered User
    Join Date
    08-15-2012
    Location
    Baltimore, MD
    MS-Off Ver
    Excel 2010
    Posts
    31

    Re: Loop is stopping for no apparent reason.

    I've been thinking maybe this needs a timer somewhere. I think it may be running through to quickly. Please let me know if you know how to get it to wait a bit before moving on

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1