+ Reply to Thread
Results 1 to 3 of 3

Defining a Range with unknown size

  1. #1
    Registered User
    Join Date
    02-07-2010
    Location
    Manchesteer
    MS-Off Ver
    Excel 2007
    Posts
    51

    Defining a Range with unknown size

    Hi,

    I have several sheets with column (B) that has data in from B3 onwards. I have a macro on a seperate worksheet that needs to scan each column B and do calculations on the data.

    In the past i have defined the range and then used the this to scan that range. However the rang in this case could be anything from 1 row to 1000's. How do I define that:

    Please Login or Register  to view this content.
    Last edited by mark-ainsworth; 04-29-2011 at 04:03 PM.

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

    Re: Defining a Range with unknown size

    Here's one way:
    Please Login or Register  to view this content.
    Last edited by protonLeah; 04-29-2011 at 04:30 PM.
    Ben Van Johnson

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    36,677

    Re: Defining a Range with unknown size

    Please Login or Register  to view this content.

    Regards

+ 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