Excel puts up this complaint when the range of cells you are trying to sort includes merged cells.

enter image description here

But if it's a large sheet how do you track down the merged cells?

link|improve this question

40% accept rate
feedback

1 Answer

up vote 3 down vote accepted

Edit > Find > Format (specify merged cells) > Find All.

Or use a macro:

Option Explicit

Sub testme()
    Dim myCell As Range
    Dim resp As Long

    For Each myCell In ActiveSheet.UsedRange.Cells
        If myCell.MergeCells Then
            If myCell.Address = myCell.MergeArea(1).Address Then
                resp = MsgBox(prompt:="found: " _
                & myCell.MergeArea.Address & vbLf & _
                "Continue looking", Buttons:=vbYesNo)
                If resp = vbNo Then
                    Exit Sub
                End If
            End If
        End If
    Next myCell
End Sub
link|improve this answer
years and years of using Excel and never before noticed (or used) Find, Format. Thanks. – hawbsl May 4 '11 at 14:09
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.