[quote user="Xavi García Maranges"]If the precision of the distance between point and line is the precision of the value of the variable Zero I'm with the same problem ...[/quote]
ZERO is defined as a constant value in Rod's VBA project. If you don't like the value he's chosen, you can define a different value.