ForumulaArrays - help needed.
I think what i need is an example of the Minverse function ??/
Kiwi Trader Guy wrote:
Hi
I want to write a simple FormulaArray type function that will take a
Range as input, and return a value subect to where the cell is in
reference to the input range.
i.e. say a it was just to reverse the input
1 - 4
2 - 3
3 - 2
4 - 1
This is a trivial example, but what gets me is know where i am in the
destination cell so that I can return the right value from the input
range.
Does that make sense?
Function foo(Rin As Range)
' foo = Rin.Row
'foo = Rin.Rows.Count
'BUT what is the row/cell value of the cell that called me??????
End Function
|