部分屏蔽可以这样做
Private pUnLoadDbClick As Boolean Private Sub AcadDocument_BeginDoubleClick(ByVal PickPoint As Variant) Dim ss As AcadSelectionSet Dim pobj As AcadEntity Set ss = ThisDrawing.PickfirstSelectionSet Set pobj = ss(0) If ss.Count = 1 And pobj.EntityName = "AcDbBlockReference" Then If Not pUnLoadDbClick Then Application.UnloadArx "acdblclkedit.arx": pUnLoadDbClick = True Else If pUnLoadDbClick Then Application.LoadArx "acdblclkedit.arx": pUnLoadDbClick = False End If End Sub