+ Reply to Thread
Results 1 to 2 of 2

how to get an array of addresses from a range

  1. #1
    Registered User
    Join Date
    06-19-2014
    Location
    London, England
    MS-Off Ver
    365
    Posts
    1

    Smile how to get an array of addresses from a range

    Hi there,
    I have a little Problem, and I don't know how to solve it

    I have a table that looks like this:

    | A | B | C | D | ...
    1 | fu | bar | lab |...
    2 | rab| uf | luv |...
    3 |...
    ...

    All of my values are within the Range "A1:C2"

    I would like to have a variant array which contains the addresses of this range.

    Things I tried that didn't work:

    If my variant is V and my range is R,


    v = r returns an array which contains
    fu|bar|lab
    rab|uf |luv

    V = R.Address gives me
    A1:C2|A1:C2|A1:C2
    A1:C2|A1:C2|A1:C2


    What I actually want:
    A1|B1|C1
    A2|B2|C2


    i know this can easily be done with a loop, but the table I want to use this on is huge, and a loop takes hours to execute, that's why I am looking for a way to do this in one step.

    Can anybody help? (please)

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: how to get an array of addresses from a range

    Only thing I can think of without a loop would be something like:
    Please Login or Register  to view this content.
    Why do you need to do this though?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Issues using an Array and cell addresses
    By dowell89 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2013, 04:08 AM
  2. [SOLVED] retrieving addresses of numbers in an array
    By Hyperpathetical in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-04-2013, 12:58 PM
  3. [SOLVED] Using an array to create an array of addresses
    By jase250 in forum Excel General
    Replies: 1
    Last Post: 05-03-2012, 11:28 PM
  4. find cell addresses to define match array
    By oats in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-21-2009, 10:15 AM
  5. [SOLVED] load addresses of selected cells into array
    By galefly in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2006, 07:50 PM

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