请问在建立选择集时怎样才能使用平移与缩放命令?如下(参考了前面的帖子)
restart:
On Error Resume Next
Selset.SelectOnScreen
'====================================
If Err Then
Select Case Err.Number
Case -2147467259
Err.Clear
Case -2147352567
'按了取消键或其它透明命令
varCancel = ThisDrawing.GetVariable ("LASTPROMPT")
If InStr(1, varCancel, "*Cancel*") 0 Or InStr(1, varCancel, "*取消*") 0 Then
Err.Clear
'Resume Exit_Here
GoTo restart:
Else
Err.Clear
GoTo Exit_Here
'GoTo restart:
End If
End Select
End If
但是 Err.Number 的值总是为0,怎样解决?