AuthenticRange.ExpandTo
Method: ExpandTo (eKind as SPYAuthenticElementKind), as AuthenticRange
Description
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.
Errors
2001 | The authentic range object, or its related view object is no longer valid. | |
2003 | Range expansion would be beyond end of document. | |
2005 | Invalid address for the return parameter was specified. |