SplitRegion Method

Contained in the Region Object Splits a region into three parts, around two specified index values.

Syntax

region.SplitRegion number1 number2

The SplitRegion method syntax has these parts:

 

Part  Description

region  An object expression that evaluates to a Region Object.

number1 A numeric expression specifying the first index to split at. See Data Indexing.

number2 A numeric expression specifying the second index to split at.

Return Value

Returns a Boolean value; true if successful, false if not.

Remarks

Creates three regions out of one, splitting at the two indices specified. The first new region maintains the original index value in the region list, the second and third regions are inserted into the list immediately following it