Private Sub exploredblock()
Dim myss As AcadSelectionSet, gpcode(0) As Integer, datavalue(0) As Variant, groupCode As Variant, dataCode As Variant, mm As AcadBlockReference
On Error Resume Next
For Each myss In ThisDrawing.SelectionSets
myss.Delete
Next
Set myss = ThisDrawing.SelectionSets.Add("ms1")
gpcode(0) = 0: datavalue(0) = "insert"
groupCode = gpcode: dataCode = datavalue
Call myss.SelectOnScreen(groupCode, dataCode)
For Each mm In myss
mm.Explode
Next mm
myss.Delete
End Sub