createRange method
Creates a TextRange object from the current text selection, or a controlRange collection from a control selection.
For the standards-based method, see createRange.
Syntax
var retval = selection.createRange();Standards information
There are no standards that apply here.
Parameters
This method has no parameters.
Return value
Type: oRangeReturns the created TextRange object.
See also
Send comments about this topic to Microsoft
Build date: 11/8/2012