I am trying to create a custom function that requires both the Row of the function and the row below it as integers to be used in that function. I tried
Function Row()
Row = worksheetfunction.excel.row()
End Function
However that returns #Value! in excel. I hope the problem is that I just don't know the syntax to identify the cell I'm putting the formula in and I can use the built in excel row function to get the result.