Thanks for looking into it.
I understand better now what I have to do now.
And it is going to take me a little time.

The deleted line event needs a little clarification.
FS recommendation is to switch on the GPS several minute before exit.
The first datapoints are just garbage with fantastic altitudes.
So the macro cleans it up. The cut off altitude is found in the cell B16 of the master file.

You will also find in B13/14 the coordinate of the target for distance calculations.

Thanks again,

Pierre