VBA运行时提示“要求对象”,是什么原因?
答案:2 悬赏:80
解决时间 2021-02-13 00:33
- 提问者网友:熱戀丶瘋
- 2021-02-12 19:46
VBA运行时提示“要求对象”,是什么原因?
最佳答案
- 二级知识专家网友:魅世女王
- 2021-02-12 20:38
If Cells(r, c2.Value) > maxNum Then
If Cells(r, c2.Value) = 0 Then
这二句有问题,我上次就告诉你啦
应该修改成下面这样才对
If Cells(r, c2).Value > maxNum Then
If Cells(r, c2).Value = 0 Then
If Cells(r, c2.Value) = 0 Then
这二句有问题,我上次就告诉你啦
应该修改成下面这样才对
If Cells(r, c2).Value > maxNum Then
If Cells(r, c2).Value = 0 Then
全部回答
- 1楼网友:绝望伪装
- 2021-02-12 22:09
avg = sum / cellsnum
这句中cellsnum为0了,内存溢出
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯