Hello,
I've gotten good at nesting formulas to the point that I need to start using UDF's.
Function Dist(XA As Double, YA As Double, XB As Double, YB As Double)
Dist = Sqr((YA - YB) ^ 2 + (XA - XB) ^ 2)
End Function
I think the function would be improved by using
Function Dist(PT1 As Range, PT2 As Range)
PT1 would contain an X,Y coordinate with PT2 containing...
User Profile
Collapse
-
Jay1202 started a topic How to replace the 4 individual cell selections in a UDF with 2 ranges and complete tin Visual BasicHow to replace the 4 individual cell selections in a UDF with 2 ranges and complete t
No activity results to display
Show More