Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Referencing Calling Cell

One way:

Public Function WhoAmI() As String
If TypeName(Application.Caller) = "Range" Then _
WhoAmI = Application.Caller.Address(0, 0)
End Function



In article ,
"John H W" wrote:

I know that you can call or find out the the active cell when in a
function/sub, but I can not find out if there is a way to find out the
CALLING cell (without out passing the value as a parameter).

Thanks,
John H W

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
Calling the contents of a random cell suitcase Excel Worksheet Functions 3 February 12th 09 06:02 PM
VLookup only calling one cell Alexander Excel Discussion (Misc queries) 3 September 21st 08 08:47 PM
Referencing Calling Cell Bob Phillips[_6_] Excel Programming 2 March 2nd 04 09:22 PM
Referencing Calling Cell Chip Pearson Excel Programming 0 March 2nd 04 08:16 PM
calling VBA functions from a cell rturner138 Excel Programming 2 January 19th 04 09:11 PM


All times are GMT +1. The time now is 02:19 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"