+ Reply to Thread
Results 1 to 3 of 3

Set Dynamic Range based on values

  1. #1
    Registered User
    Join Date
    07-20-2009
    Location
    derfry
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question Set Dynamic Range based on values

    Hi all,

    I would like to create a dynamic range based on a cell value. However, the cell reference may vary because the numbers of entries in the workbook can vary.

    In addition to that, after the first range (eg. A1:A10), I would like to create a second range after the first (eg. A11:A20).

    Please see attached sheet for data example.

    Thanks in advance.

    alex
    Attached Files Attached Files
    Last edited by rylo; 07-21-2009 at 02:17 AM.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Set Dynamic Range based on values

    Hi

    What sort of "dynamic range"? Do you want a series of defined names? Or do you want ranges to be used in a loop in code?

    Please give more detail on exactly what you want to create.

    rylo

  3. #3
    Registered User
    Join Date
    07-20-2009
    Location
    derfry
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Re: Set Dynamic Range based on values

    Hi all,

    Got the answer from another forum

    here is the code

    Please Login or Register  to view this content.
    thanks for viewing and trying to help.

    mods please close this thread
    Last edited by rylo; 07-21-2009 at 02:16 AM.

+ 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