Okay this is likely due to my not properly understanding objects.
I'm using _Word_DocRangeSet to extend a range (in this case to the end of a line).
The issue I've encountered is that extending one range seems to affect another range.
It may be that an object can't be assigned or equated.
In any event the program and test file (place in the same directory) illustrate the issue.
Test 1 - shows the documentation forĀ _Word_DocRangeSet correctly shows how the range is extend