Sub test()
Dim shx As Shape, i&, n&
Range("a15:a99").ClearContents: Range("a15").Select
On Error Resume Next
For Each shx In Me.Shapes
n = shx.GroupItems.Count
If Err.Number = 0 Then
For i = 1 To n
ActiveCell = shx.GroupItems(i).Name
ActiveCell.Offset(1).Select
Next i
Else
Err.Clear
ActiveCell = shx.Name
ActiveCell.Offset(1).Select
End If
Next shx
On Error GoTo 0
End Sub