I have a private collection in a bas module, now i have a function that returns this col
Public Function GetOldRD_Col() As Collection
Set GetOldRD_Col = mcolOldRD
End Function
it happens that the returned collection is a reference to the private collection, which i dont want.
I need to return the collection by value
Can anyone help?
Public Function GetOldRD_Col() As Collection
Set GetOldRD_Col = mcolOldRD
End Function
it happens that the returned collection is a reference to the private collection, which i dont want.
I need to return the collection by value
Can anyone help?