📜  vba 可变数量的参数 - VBA 代码示例

📅  最后修改于: 2022-03-11 14:51:53.992000             🧑  作者: Mango

代码示例1
Sub Test(ByVal pArg As String, ParamArray pParameters())
    ' Can't be combined with 'Optional' arguments
    Dim sValues
    For Each sValues In pParameters
  Debug.print sValues
    Next  
End SUb