+ Reply to Thread
Results 1 to 2 of 2

Help with Loop Statement

  1. #1
    Forum Contributor
    Join Date
    11-16-2011
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    405

    Question Help with Loop Statement

    Hi Guys

    Im trying to create a loop that for a selected/ active cell will look at that cell for a top xl border, if none is found will offset up one row (-1,0) check for the border and will continue until one is found and assign that row value to RwTp
    Then it will do the same thing to find a bottom xl border and assign the found row number to RwBtm.

    Please Login or Register  to view this content.
    I have this using an If statement but it doesnt loop until the border is found

    any help would be appreciated.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,624

    Re: Help with Loop Statement

    Please Login or Register  to view this content.
    Ben Van Johnson

+ 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