Method: ExpandTo (eKind as SPYAuthenticElementKind) as AuthenticRange
Selects the whole element of type eKind, that starts at, or contains, the first cursor position of the range. The method returns the modified range object.
The authentic range object, or its related view object is no longer valid.
Range expansion would be beyond end of document.
Invalid address for the return parameter was specified.