_Application.Union(Range, Range, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) _Application.Union(Range, Range, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) Method

Definition

Returns the union of two or more ranges.

public Microsoft.Office.Interop.Excel.Range Union (Microsoft.Office.Interop.Excel.Range Arg1, Microsoft.Office.Interop.Excel.Range Arg2, object Arg3, object Arg4, object Arg5, object Arg6, object Arg7, object Arg8, object Arg9, object Arg10, object Arg11, object Arg12, object Arg13, object Arg14, object Arg15, object Arg16, object Arg17, object Arg18, object Arg19, object Arg20, object Arg21, object Arg22, object Arg23, object Arg24, object Arg25, object Arg26, object Arg27, object Arg28, object Arg29, object Arg30);
Public Function Union (Arg1 As Range, Arg2 As Range, Optional Arg3 As Object, Optional Arg4 As Object, Optional Arg5 As Object, Optional Arg6 As Object, Optional Arg7 As Object, Optional Arg8 As Object, Optional Arg9 As Object, Optional Arg10 As Object, Optional Arg11 As Object, Optional Arg12 As Object, Optional Arg13 As Object, Optional Arg14 As Object, Optional Arg15 As Object, Optional Arg16 As Object, Optional Arg17 As Object, Optional Arg18 As Object, Optional Arg19 As Object, Optional Arg20 As Object, Optional Arg21 As Object, Optional Arg22 As Object, Optional Arg23 As Object, Optional Arg24 As Object, Optional Arg25 As Object, Optional Arg26 As Object, Optional Arg27 As Object, Optional Arg28 As Object, Optional Arg29 As Object, Optional Arg30 As Object) As Range
Parameters
Arg1
Range Range

Required Range. At least two Range objects must be specified.

Arg2
Range Range

Required Range. At least two Range objects must be specified.

Arg3
Object Object

Required Object. At least two Range objects must be specified.

Arg4
Object Object

Required Object. At least two Range objects must be specified.

Arg5
Object Object

Required Object. At least two Range objects must be specified.

Arg6
Object Object

Required Object. At least two Range objects must be specified.

Arg7
Object Object

Required Object. At least two Range objects must be specified.

Arg8
Object Object

Required Object. At least two Range objects must be specified.

Arg9
Object Object

Required Object. At least two Range objects must be specified.

Arg10
Object Object

Required Object. At least two Range objects must be specified.

Arg11
Object Object

Required Object. At least two Range objects must be specified.

Arg12
Object Object

Required Object. At least two Range objects must be specified.

Arg13
Object Object

Required Object. At least two Range objects must be specified.

Arg14
Object Object

Required Object. At least two Range objects must be specified.

Arg15
Object Object

Required Object. At least two Range objects must be specified.

Arg16
Object Object

Required Object. At least two Range objects must be specified.

Arg17
Object Object

Required Object. At least two Range objects must be specified.

Arg18
Object Object

Required Object. At least two Range objects must be specified.

Arg19
Object Object

Required Object. At least two Range objects must be specified.

Arg20
Object Object

Required Object. At least two Range objects must be specified.

Arg21
Object Object

Required Object. At least two Range objects must be specified.

Arg22
Object Object

Required Object. At least two Range objects must be specified.

Arg23
Object Object

Required Object. At least two Range objects must be specified.

Arg24
Object Object

Required Object. At least two Range objects must be specified.

Arg25
Object Object

Required Object. At least two Range objects must be specified.

Arg26
Object Object

Required Object. At least two Range objects must be specified.

Arg27
Object Object

Required Object. At least two Range objects must be specified.

Arg28
Object Object

Required Object. At least two Range objects must be specified.

Arg29
Object Object

Required Object. At least two Range objects must be specified.

Arg30
Object Object

Required Object. At least two Range objects must be specified.

Returns

Applies to