L
Levan Jgarkava
Hi!
I want to be able to pass variable number of Double() arrays to function.
How can I do it in VB/VBA?
Following example shows what I want to do:
------
Public Sub SomeFunction(p_array() As Double, ParamArray params()) As Boolean
' p_array is an array and I can use it as:
Dim b As Double
b = p_array(6)
Dim other
For Each other In params
' Can I use other as array? for example:
Dim a As Double
a = other(5) ' How I can perform something like this but
workable?
Next
End Sub
------
So, what will it be like to work properly?
I'll be greateful for any help.
Best Regards,
Levan Jgharkava
I want to be able to pass variable number of Double() arrays to function.
How can I do it in VB/VBA?
Following example shows what I want to do:
------
Public Sub SomeFunction(p_array() As Double, ParamArray params()) As Boolean
' p_array is an array and I can use it as:
Dim b As Double
b = p_array(6)
Dim other
For Each other In params
' Can I use other as array? for example:
Dim a As Double
a = other(5) ' How I can perform something like this but
workable?
Next
End Sub
------
So, what will it be like to work properly?
I'll be greateful for any help.
Best Regards,
Levan Jgharkava