0
我在写一个VBA宏,并且已经导入了mscorlib.dll以引用System.Math。错误424:调用外部库时需要的对象
Sub draw16mmButtonHole()
Dim test As Double
test = System.Math.ASin(0) 'this is where the error happens
End Sub
显然错误424时调用返回的对象通常发生,并且可以通过附加set
给变量赋值被固定;然而,这里发生了同样的错误。