It is not working because there are no cross reference fields in the defined range.
Your code would only find and select the first wdFieldRef in the selected text.
If you are on page 999 of a 1000 page document containing 25,000 cross references, does it make sense to loop through 24,900 or so to find the next one? If you want to find the next wdFieldRef from your current location then you need to define the range to be from where you are at to where you want the search to end. E.g., end of section, end of document whatever.
|