Create Union Range

Create Union Range

Aspose.Cells provides the ability to create a Union Range by using the WorksheetCollection.create_union_range method. The WorksheetCollection.create_union_range method accepts two parameters: the address of the Union Range and the index of the worksheet. The WorksheetCollection.create_union_range method returns a UnionRange object.

The following code snippet demonstrates creating a Union Range by using the WorksheetCollection.create_union_range method. The output file generated by the code is attached for reference.