>If in the range, the 'rangepart' then becomes - zero offset from tnStart
>
>The StartPos-EndPos can span more than one 'rangepart'
>
>rangepartLow = int( (StartPos - tnStart)/tnIncrement)
>rangepartHigh = int( (EndPos - tnStart)/tnIncrement)
>
Let me try that, I was also thinking the same, thanks.
If it's not broken, fix it until it is.
My Blog