Range: ITabRange;
The Range property sets the range of cells for iterator.
To execute the example, create a form given in the Fore example for the ITabCellIterator.Next method. Locate the Button3 button on the form and add the following event handler of button click:
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
iter.Range := tab.Cells(1, 1, 4, 4);
End Sub Button1OnClick;
After executing the example, clicking the button determines a new range for the earlier created iterator named iter.
See also: