Evenin everyone,
I've the below bit of code for a UDF which seams to have a problem. "arrco" seems to calculate correctly but "depco" does not. When i switch these two it is always the first that works and the second that does not.
Function CourseAlt(Lat1, Lon1, Lat2, Lon2, Lat3, Lon3...