+ Reply to Thread
Results 1 to 2 of 2

How to get reference to a range as string?

  1. #1

    How to get reference to a range as string?

    I can get a reference to a cell as string with function CELL("address",
    A1), which will return the string $A$1. How do I get a reference to a
    range, for instance, A1:A5?


    Thanks.


  2. #2
    David McRitchie
    Guest

    Re: How to get reference to a range as string?

    How will you be using it.

    I expect you would have to use a user defined function.

    MsgBox Range("mrange").Address
    ---
    HTH,
    David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
    My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
    Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

    <[email protected]> wrote in message news:[email protected]...
    > I can get a reference to a cell as string with function CELL("address",
    > A1), which will return the string $A$1. How do I get a reference to a
    > range, for instance, A1:A5?
    >
    >
    > Thanks.
    >




+ 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