CBool(wrBook.Worksheets(1).Range("A1:F2").MergeCells
Dim astring() as stringDim strAddress as string Set ma = Range("a1").MergeAreaastring = Split(ma.AddRess, "$")If ma.Address = "$A$1" Then strAddress = "$" & astring(1) & "$" & astring(2) + 1 NextCell = Range(strAddress).Selectelse strAddress = strAddress = "$" & astring(1) & "$" & astring(4) + 1 NextCell = Range(strAddress).SelectEnd If