LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Cell References in functions

Hi,
I am trying to create some time series functions in excel. I want
these functions to take advantage of the columns and rows in excel.
For example, the most basic function is the difference function, which
is just the difference between one value and the one above it. So for
example, I want to have the function d(a4) which would be equal to the
excel formula "=a4-a3". Is there any way that I can write a vba
function that will tell me what location the formula is referencing.
For instance, say I put the formula "=d(a4)" into cell g1 and the value
in cell a4 is 12. Is there any way for me to figure out that the
location of the cell being referenced is a4 instead of/in addition to
learning that there is a 12 in the cell being pointed to?

Thanks,
Andrew

 
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
Add Subtotal functions using cell references JeffB Excel Discussion (Misc queries) 2 August 14th 09 02:45 PM
Moving worksheet references in functions scuba Excel Discussion (Misc queries) 3 June 13th 08 10:46 PM
convert relative cell references to absolute cell references via amacro? Dave F[_2_] Excel Discussion (Misc queries) 1 May 15th 08 04:43 PM
External References in Functions Ferencko Excel Worksheet Functions 2 March 21st 07 07:30 PM
How to use complex no. functions that have cell references? agathon Excel Worksheet Functions 2 June 17th 05 01:55 AM


All times are GMT +1. The time now is 08:10 PM.

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

About Us

"It's about Microsoft Excel"