Hi,
I found a nice piece of code that is working fine.
But It declares the function as type IUnknown.

I figured out that is some kind of structure. but I don't understand its working and function propperly (Guess I'm Thick)

this is the code I saw it in:

' Implement support for enumeration (For Each)
Function NewEnum() As IUnknown
' delegate to the private collection
Set NewEnum = m_InvoiceLines.[_NewEnum]
End Function

it's used to enumerate a collection and I do understand the rest of it

So any info on IUnknown would be appriciated

Thanks in advance,.....