Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Cell address of function call

I have a function in my spreadsheet and I would like to know within that code
what cell the function is being called from, but I have no idea how to
achieve this. Perhaps somebody here can point me in the right direction?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Cell address of function call

I've found it. Application.Caller.Address seems to do the job nicely.

"PatrickS" wrote:

I have a function in my spreadsheet and I would like to know within that code
what cell the function is being called from, but I have no idea how to
achieve this. Perhaps somebody here can point me in the right direction?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i call a function to a cell? Bill Excel Worksheet Functions 3 February 17th 07 12:54 AM
Call a function when a cell changes henpat Excel Programming 1 November 16th 05 01:24 PM
Call VBA function from cell donesquire Excel Programming 4 April 20th 05 05:49 AM
call a vb function from a cell mike grasso Excel Programming 3 July 9th 04 01:51 PM
How do I call a VBA function from a cell? Scott Lyon Excel Programming 1 October 14th 03 06:55 PM


All times are GMT +1. The time now is 03:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"