+ Reply to Thread
Results 1 to 3 of 3

Named Range Refers To

  1. #1
    Tim
    Guest

    Named Range Refers To

    I am pretty sure this is a simple question that I am far to simple to
    be able to find the answer to, but does anybody know how to return the
    cells that a named range refers to?

    by this I mean the formula that you see when you go to the insert >
    name > define menu including any offset formula used in defining the
    range.

    I want to do this using vba but so far have only been able to return
    what the range refers to with the path and filename attached, if it is
    possible to return it without these so I dont have to cut bits out of
    the string then I would be much abliged if someone could tell me how
    or point me in the right direction.

    Cheers,

    Tim


  2. #2
    Tim
    Guest

    Re: Named Range Refers To

    I have managed to solve the problem myself, I had mistakenly moved a
    sheet into the workbook and the named ranges associated with it were
    all referenced to the originl workbook.

    Sorry for taking up anybodies time.

    Tim


  3. #3
    Tom Ogilvy
    Guest

    Re: Named Range Refers To

    I assume you are referring to

    Range("Name").RefersTo


    Possibly you can use

    Range("Name").ReferstoRange.Address(0,0)



    --
    Regards,
    Tom Ogilvy


    "Tim" <steer.tim@gmail.com> wrote in message
    news:1139798926.759542.266660@f14g2000cwb.googlegroups.com...
    > I am pretty sure this is a simple question that I am far to simple to
    > be able to find the answer to, but does anybody know how to return the
    > cells that a named range refers to?
    >
    > by this I mean the formula that you see when you go to the insert >
    > name > define menu including any offset formula used in defining the
    > range.
    >
    > I want to do this using vba but so far have only been able to return
    > what the range refers to with the path and filename attached, if it is
    > possible to return it without these so I dont have to cut bits out of
    > the string then I would be much abliged if someone could tell me how
    > or point me in the right direction.
    >
    > Cheers,
    >
    > Tim
    >




+ 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