Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Apr 2002
    Location
    Texas, USA
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post

    How to determine cell when function is used (2000/2002)

    I have an Excel Add-in that adds functions. What I would like to know is how within the function I can use code to indicate which cell is being evaluated in the formula. Note this is not necessarily the active cell.

    Thanks
    Ed

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: How to determine cell when function is used (2000/2002)

    Application.Caller.Address is the address of the cell that "called" the function

    Steve

  3. #3
    Star Lounger
    Join Date
    Feb 2001
    Location
    Auckland, North Island, New Zealand
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to determine cell when function is used (2000/2002)

    Sorry I don't understand the question, can you give an example please Ed

    Thanks
    Simon

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •