Method: MoveEnd (eKind as SPYAuthenticElementKind, nCount as Long) as AuthenticRange
Move the end of the range to the begin of the nCount element of type eKind. Counting starts at the current end of the range object.
Use positive numbers for nCount to move towards the document end, use negative numbers to move towards document beginning. The beginning of the range stays unmoved, unless the new end would be less than it. In this case, the beginning gets moved to the new end. The method returns the modified range object.
The authentic range object, or its related view object is no longer valid.
Target lies after end of document.
Target lies before begin of document.
Invalid element kind specified.
Invalid address for the return parameter was specified.