Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 712 Bytes

Excel.Range.UnMerge.md

File metadata and controls

42 lines (28 loc) · 712 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Range.UnMerge method (Excel)
vbaxl10.chm144159
vbaxl10.chm144159
Excel.Range.UnMerge
dfc49876-29b0-0b61-fe18-3953438f7452
05/11/2019
medium

Range.UnMerge method (Excel)

Separates a merged area into individual cells.

Syntax

expression.UnMerge

expression A variable that represents a Range object.

Example

This example separates the merged range that contains cell A3.

With Range("a3") 
 If .MergeCells Then 
 .MergeArea.UnMerge 
 Else 
 MsgBox "not merged" 
 End If 
End With

[!includeSupport and feedback]