更新时间:2023-09-11 17:08:58
错误来源在这里:
The error source is here:
Dim tmp As Integer = 0
使用Excel,单元格索引从'1'开始。
抱歉,错过了增量。
因为错误是通用的,所以很难检测到来源。
我建议检查所有涉及的对象是否有效。
另一项检查可能是先尝试读取单元格。
With Excel, cell indexes start at '1'.
Sorry, missed the increment.
Because the error is generic, it is difficult to detect the source.
I suggest to check if all involved objects are valid.
Another check might be trying to read the cell first.