Tab > Tab Assembly Interfaces > ITabRange > ITabRange.Right
Right: Integer;
The Right property returns the index of the rightmost column of the range.
See also:
ITabRange