用vba如何定义带有参数的返回数组的函数?

2024-11-24 03:01:09
推荐回答(1个)
回答1:

请简单参考语法
Public Function Test(ByVal ID As Integer) As Integer()

Dim arr(3) As Integer
Test = arr

End Function