PC Review


Reply
Thread Tools Rate Thread

Cell address of function call

 
 
=?Utf-8?B?UGF0cmlja1M=?=
Guest
Posts: n/a
 
      25th Sep 2007
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 With Quote
 
 
 
 
=?Utf-8?B?UGF0cmlja1M=?=
Guest
Posts: n/a
 
      25th Sep 2007
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call a function when a cell changes henpat Microsoft Excel Programming 1 16th Nov 2005 01:24 PM
Call VBA function from cell =?Utf-8?B?ZG9uZXNxdWlyZQ==?= Microsoft Excel Programming 4 20th Apr 2005 05:49 AM
Can I call a VB function by address? =?Utf-8?B?aGFtaWw=?= Microsoft VB .NET 2 8th Oct 2004 08:12 AM
call a vb function from a cell mike grasso Microsoft Excel Programming 3 9th Jul 2004 01:51 PM
How do I call a VBA function from a cell? Scott Lyon Microsoft Excel Programming 1 14th Oct 2003 06:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:03 PM.