+ Reply to Thread
Results 1 to 7 of 7

Create Loop and stop when done

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 365
    Posts
    29

    Post Create Loop and stop when done

    I have made a macro that copies and pastes data from table to the next. I have created it to do just the "Burn" part. I was wondering if their was a way to loop it through until all of the Selections of "Burn" are done and continue through each kind of selection (Burn, Equipment, Spec In, etc.) And then clear the validation drop down menus as the macro runs or at the end.
    Attached Files Attached Files

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Create Loop and stop when done

    something like this.
    Please Login or Register  to view this content.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    04-09-2013
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 365
    Posts
    29

    Re: Create Loop and stop when done

    I have figured out how to everything but the loop part. I cant figure it out how to have it stop the loop when there are no more "Burn" validation drop down menus.
    And, Im sorry but i dont understand what those program lines are trying to do. Is there anyway to explain them to me?

    I have uploaded an updated one. It now has clearing the validation menus after use and continuing to "Equipment" after "Burn"
    Attached Files Attached Files

  4. #4
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,138

    Re: Create Loop and stop when done

    Quote Originally Posted by whtwzzrd88 View Post
    I have figured out how to everything but the loop part.
    I think you should have two loops. The one I listed was the list at B29:B35. So the loop will iterate each cell, but what we need to add is the Range.Find do-loop.

    Does each one in the list only appear once in the A18:Y25? (or should that be K25?)

    Where is the data being pasted to?

  5. #5
    Registered User
    Join Date
    04-09-2013
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 365
    Posts
    29

    Re: Create Loop and stop when done

    Its a log book. Every time he does a burn, he writes how long the burn takes. It is guaranteed that he will do multiple burns in one day. So each one will appear multiple times.

    Everything is getting pasted to Data sheet.

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 365
    Posts
    29

    Re: Create Loop and stop when done

    All I'm trying to do is keep track of how long altogether the burns took, how long repairing equipment took, etc.

  7. #7
    Registered User
    Join Date
    04-09-2013
    Location
    Minnesota, USA
    MS-Off Ver
    Excel 365
    Posts
    29

    Thumbs up Re: Create Loop and stop when done

    For anyone wanting to know how i did it, I posted the new Excel Worksheet. MME.xlsm

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Can't get my loop to stop!!
    By berlinhammer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-31-2009, 03:04 AM
  2. How to stop the for loop?
    By ccs1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2008, 07:33 AM
  3. Loop until won't stop!?
    By meacho in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2007, 03:37 PM
  4. Hot key to stop a LOOP
    By joopdog in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-09-2006, 02:51 PM
  5. Stop a loop
    By Matthew McManus in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2005, 04:55 AM

Tags for this Thread

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