Hello Alanjt,
thanks again for your routine. Why because I changed your old routine to work with metric to 3 dec places and removed some of the angles which I didn't need.
with your latest routine I get this:
Delta X: 24.558, Delta Y: 21.828, Delta Z: 0.000
From: N=502.175, E=403.574 -> To: N=524.003, E=428.132
Rad: 0.727, Azm: 48d22'7", Grad: 53.7427g, Bear: N 41d37'53" E, Dist: 32.856
with your old modified routine I get this:
Delta X: 8.198, Delta Y: -9.439, Delta Z: 0.000
From: E = 504.138, N = 942.242 -> To: E = 512.336, N = 932.803
WCB: 139d1'30", Horiz Dist: 12.502m
and also because I never got round to updating, the old routine works fine for me right now.
Thanks for the tip with dosLib, but for now I'm going to carry on with the htmlfile hack. Just because it's working which is the main thing. I'm just a one man band so am my own administrator and if down the line it breaks I'll know where to look.
Maybe when I do get round to installing doslib i'll modify the routine to suiit.
Thanks for everyones help!
P