+ Reply to Thread
Results 1 to 3 of 3

Loop not running

  1. #1
    Forum Contributor
    Join Date
    08-20-2005
    Posts
    173

    Loop not running

    Im not getting this loop to execute completely:

    For i = cumlastrow2 To cumlastrow Step -1
    Worksheets("CUMPROP").Cells(i, 2) = "8"
    Next

    Can I change the code so that perhaps there isnt a loop.

    Many Thanks

  2. #2
    Registered User
    Join Date
    05-30-2006
    Posts
    33

    try this

    For i = cumlastrow2 To cumlastrow Step -1
    Worksheets("CUMPROP").Cells(i, 2) = "8"
    Next i

  3. #3
    Forum Contributor
    Join Date
    08-20-2005
    Posts
    173
    Hi, thanks for the tip but is still not executing.
    Think I definitely need a replacement for the loop

    thanks

+ Reply to Thread

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