Share via


Style.MergeCells Property

True if the style contains merged cells.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property MergeCells As Object
    Get
    Set
'Usage
Dim instance As Style
Dim value As Object

value = instance.MergeCells

instance.MergeCells = value
Object MergeCells { get; set; }

Property Value

Type: System.Object

Remarks

When you select a range that contains merged cells, the resulting selection may be different from the intended selection. Use the Address property to check the address of the selected range.

See Also

Reference

Style Interface

Style Members

Microsoft.Office.Interop.Excel Namespace