📅  最后修改于: 2022-03-11 14:51:53.497000             🧑  作者: Mango
' Use a ParamArray
Sub Test(ByVal pArg As String, ParamArray pParameters() As Variant)
' Can't be combined with 'Optional' arguments
Dim sValues
For Each sValues In pParameters
Debug.print sValues
Next
End SUb