Public Sub TEST_LIST2()
Dim temp_sum As Integer
Dim temp_TK_Col As Integer temp_sum = WorksheetFunction.Sum(Sheet6.Range("A1:D5"))
Sheet6.Cells(3, 1) = temp_sum
temp_TK_Col = WorksheetFunction.Match(Sheet6.Cells(1, 1), Sheet3.Range("1:1"), 0)
Sheet6.Cells(2, 1) = temp_TK_Col
End Sub
为什么Sum函数的引用没问题,可是到了Math函数就提示“运行时错误1004,不能取得类 WorksheetFunction.Match的属性”???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货