+ Reply to Thread
Results 1 to 12 of 12

how to stop this loop....

Hybrid View

  1. #1
    Registered User
    Join Date
    02-13-2013
    Location
    Bergen County
    MS-Off Ver
    Excel 2010
    Posts
    36

    Re: how to stop this loop....

    Thanks Ciao Holger!

    Vimalanathk,
    Try out this code.

    Sub test()
    Dim row As Long
    row = 2
    Do
        If Cells(row, 1).Value <> "x" And Cells(row, 1).Value <> "" Then
            Cells(row, 12).Value = "=+RC[-11]"
        End If
        row = row + 1
    Loop Until Cells(row, 3).Value = "Powered by GL Compliance Manager"
    End Sub
    Thanks,
    Fonzie
    Last edited by fonzie29; 12-03-2013 at 02:45 AM.

  2. #2
    Forum Contributor
    Join Date
    07-23-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2016
    Posts
    210

    Re: how to stop this loop....

    Your bottom code is giving me the output for blank line of status columns also where i need the out put only the status is updated... it should be blank for status blank line items.

    Regards,
    Vimala K

  3. #3
    Forum Contributor
    Join Date
    07-23-2012
    Location
    hyderabad
    MS-Off Ver
    Excel 2016
    Posts
    210

    Re: how to stop this loop....

    Hi Fonzie,

    I just changed your script with my requirement and I am getting the output.

    Thanks a lot for your help.

    Regards,
    Vimala K

+ 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. Loop Does Not Stop
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-14-2011, 07:31 PM
  2. 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
  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

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