发布网友
共3个回答
热心网友
如果有固定范围 可以通过筛选的方法 点击"排序和筛选"—>"数字筛选” —>大于 将超出范围的数据筛选出后 删除即可
热心网友
Sub delete()
Dim s As Double, m As Double, rg As Range
m = Val(InputBox("大数")) '需要大于的数
s = Val(InputBox("小数")) '需要小于的数
For Each rg In Range("a1:c10") '选择区域
If rg < s Or rg > m Then
rg.ClearContents
End If
Next
End Sub
热心网友
用VBA可以
请提供具体数据和要求