如果我输入:ThisWorkbook,脚本就可以正常工作,但是使用ActiveWorkbook就不行了。Error 1004说:"Unable to get the Match property of the Worksheet function class“ dat = zi & "-" & luna & "-" &a
我有运行时错误1004的问题。在错误描述中写道:"Unable to get Mode_Mult property of Worksheet Function class“ 出现此错误的原因是所选范围内没有Mode_Multi值。我的命令行如下 ws.Range("f8") = WorksheetFunction.Mode_Mult(Range(Cells(1, 6), Cells(t, 6)))
它可以工作,但是在将条目添加到电子表格"Run-time error 1004, Unable to get Match Property of the WorksheetFunctionclass"后,我得到了一个错误。ThisWorkbook.Sheets("Valuer_Details")
For i = 1 To Application.<
我想使用vlookup来引用序列名称,并返回定义的MarkerStyle、MarkerForegroundColor、MarkerSize等。我已经启动了一个代码,但仍然收到1004错误:“Unable to get the Vlookup property of the WorksheetFunctionclass”: Wit
LBound(Data, 1) To UBound(Data,1) test(1, i) = Application.WorksheetFunction.VLookup(Data(i, 4), LookupRange, 3, 0)Next i"Unable to get the VLookupproperty of the
我一直在尝试用Application.WorksheetFunction从VBA代码中调用Forecast.ETS函数,但是我得到了"unable to get the forecast_ets propertyof the worksheetfunctionclass error“。Sub test()
Cells(20, 5) = Application.WorksheetFunction.Forecast_ETS(Cells(5,
TurnStarts(k) & ":" & TurnEnds(k) & ").Value"Next
result = Application.WorksheetFunction.Average(strTurnAvg) '<- This results in a Run-time error '1004', Unable to get the Average
Nom_1是我的工作表中单元格的名称,并在下面的代码中使用。有些时候,单元格是空的,我不希望调用NormInv函数,因为如果输入为空,它将返回错误。我得到了错误:Unable to get the NormInv property of the WorksheetFunctionclassinternal_1 = Application.