Results 1 to 5 of 5

Loop based on cell value

Threaded View

  1. #1
    Forum Contributor
    Join Date
    04-23-2009
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003 work, 2007 home
    Posts
    199

    Loop based on cell value

    Hi Guys

    Looking to get the below to work better. Instead of looping as long as there is something in the cells to the left I would like to loop the amount of times based on the value in cell A1- can anyone point me in the right direction please?

    i will have a many loops so would like this to be dynamic enough to work for each loop, the amount of times i need each to loop will not change

     Do
        ActiveCell.FormulaR1C1 = _
            "=""Interest""&"" ""&Postings!RC[5]&"" ""&""Broker""&"" ""&TEXT(Postings!R2C9,""DD/MM/YYYY"")"
        ActiveCell.Offset(1, 0).Select
        Loop Until IsEmpty(ActiveCell.Offset(0, -1))
    Last edited by somesoldiers; 10-04-2011 at 11:29 AM.

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