+ Reply to Thread
Results 1 to 2 of 2

Named Ranges

  1. #1
    Registered User
    Join Date
    07-23-2005
    Posts
    46

    Named Ranges

    Hi I have an interesting one for you.

    If I have cells A1:A1000, G1:G1000 & K1:K1000

    is it possible to create a named range for each of the 3000 cells in code and call them all sequentially 1-3000

    Thanks if you can help. This will save me so much time!

    Rob

  2. #2
    Tom Ogilvy
    Guest

    Re: Named Ranges

    for each cell in Range("A1:A1000,G1:B1000,K1:K1000")

    Next

    or
    Range("A1:A1000,G1:B1000,K1:K1000").Name = "Robbie"
    for each cell in Range("Robbie")

    Next

    --
    Regards,
    Tom Ogilvy

    "robhargreaves" <[email protected]>
    wrote in message
    news:[email protected]...
    >
    > Hi I have an interesting one for you.
    >
    > If I have cells A1:A1000, G1:G1000 & K1:K1000
    >
    > is it possible to create a named range for each of the 3000 cells in
    > code and call them all sequentially 1-3000
    >
    > Thanks if you can help. This will save me so much time!
    >
    > Rob
    >
    >
    > --
    > robhargreaves
    > ------------------------------------------------------------------------
    > robhargreaves's Profile:

    http://www.excelforum.com/member.php...o&userid=25519
    > View this thread: http://www.excelforum.com/showthread...hreadid=390315
    >




+ 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