+ Reply to Thread
Results 1 to 2 of 2

Loop help

  1. #1
    Registered User
    Join Date
    06-24-2005
    Posts
    11

    Loop help

    I am trying to creat a program that will if a cell is blank, it will move up a row and keep looking for the first cell with information. I think this program would work, except I can't get the first line under Beta correct. I don't know how to tell it to move up one cell and then jump back to Alpha. Any ideas? Maybe there is an easier way I a'm not thinking of.

    Alpha:

    If ActiveCell.FormulaR1C1 = "=ISBLANK(RC[-3])" = True Then GoTo Beta Else GoTo Gamma

    Beta:
    Range("D18-1").Select
    GoTo Alpha

    Gamma:

  2. #2
    Forum Contributor
    Join Date
    11-16-2004
    Posts
    282
    Replace your code:
    Please Login or Register  to view this content.
    with this code:
    Please Login or Register  to view this content.
    Hope this helps,
    theDude

+ 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