Meh - I've forgotten my VB - it's not CLng you need, it's CDbl. One converts to a long integer, the other to a double-precision floating point number.
So, in that last snippet, replace Clng with CDbl everywhere it appears.
Thanks Kenny, your help was much appreciated earlier.
Will try that Fri as Off up North to Wick and Elgin tomorrow so cant try till Friday.
Many Thanks Kev
Thanks again Kenny that works.
Thanks much appreciated.