+ Reply to Thread
Results 1 to 3 of 3

how to get a loop to stop

  1. #1
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    how to get a loop to stop

    Hello. This loop keeps opening up files that are already open. How can I get it to stop?

    Please Login or Register  to view this content.
    Moderator Comment: I have added the code tags for you. Please reread the forum rules and follow them in the future
    Last edited by alansidman; 08-25-2016 at 11:42 PM. Reason: code tags added

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,914

    Re: how to get a loop to stop

    Please use code tags when posting code!!

    Try this.
    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    Re: how to get a loop to stop

    Thanks. What's the second part with the function? COuld you explain the pieces?

    What's a function vs. a sub? Isn't there an easier way to just open the files and stop?

    Thanks for your help
    Last edited by stephme55; 08-26-2016 at 12:51 PM.

+ 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. VBA Loop Will Not Stop.
    By shopholic12 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2015, 08:19 AM
  2. how to stop For Loop and Next
    By Anvuri in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-10-2014, 02:12 PM
  3. [SOLVED] how to stop this loop....
    By vimalanathk in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2013, 03:45 AM
  4. Loop Does Not Stop
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-14-2011, 07:31 PM
  5. 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
  6. How to stop the for loop?
    By ccs1981 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2008, 07:33 AM
  7. Hot key to stop a LOOP
    By joopdog in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-09-2006, 02:51 PM

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