+ Reply to Thread
Results 1 to 2 of 2

"Do Until" VBA code still running

  1. #1
    Forum Contributor
    Join Date
    04-21-2009
    Location
    England
    MS-Off Ver
    Excel 2016
    Posts
    710

    "Do Until" VBA code still running

    Hi all, I have some VBA code which calls a macro is vale of cell K9 is different than 1 (as below)

    Please Login or Register  to view this content.
    The problem is, even when "K9" does = 1 - the macro "PasteLay" keeps on running

    Macro PasteLay is below is this matters

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: "Do Until" VBA code still running

    Are you stepping through the code to determine what it causing the loop to continue?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

+ 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. [SOLVED] Overwrite "Allow Access For..." Security Message When Running Code on Outlook
    By XOR LX in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-24-2014, 07:07 AM
  2. [SOLVED] MsgBox Warning when removing cell value in range and running code if "Yes"
    By goomblar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-10-2014, 09:06 PM
  3. Running Code After "Opening File" Event Has Triggered Data Connection Refresh
    By david.nicholls in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-09-2013, 07:22 AM
  4. [SOLVED] Code behaves differently between "step into" and running outright
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 04-13-2012, 09:52 AM
  5. [SOLVED] Stop code from running when I click "Cancel"
    By Dean in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-01-2006, 08:40 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