I need to set a value based on the output returned from a function
GroupList = GroupList & "," & GetParamID LB, LB.List(i, 0)
GroupList is the value that is being populated and GetParamID is the function that expects two parameters -
GetParamID(LB As MSForms.ListBox, FilterValue As String)
The function works fine when its called on its own but when its being used as above I get a syntax error.
Any idea's ?
GroupList = GroupList & "," & GetParamID LB, LB.List(i, 0)
GroupList is the value that is being populated and GetParamID is the function that expects two parameters -
GetParamID(LB As MSForms.ListBox, FilterValue As String)
The function works fine when its called on its own but when its being used as above I get a syntax error.
Any idea's ?