我在第 3 行收到类型不匹配的 VBA 错误,但如果数组较短(如A3:A52
. 是因为数组大小有限制吗?
Dim varry() As Variant
varry = [A2:A520000&G2:G520000]
UserForm1.Label1.Caption = Application.Match(CLng(DateValue("5/14/2013")) & "YUM", varry, 1) & " " & Timer - t
UserForm1.Show vbModeless
DoEvents
End Sub