I have module with specific Type, and in another I have this
Quote:
Public Data as tMyType
Public Inp as PropertyBag
I fill Data and tried this :
and, on the last line I got Error likeQuote:
Data.F1 = 1
Data.F2 = "H"
..
Set Inp = New PropertyBag
Inp.WriteProperty "1", Data
"Only user-definided types definided in public object module can be coerced to or from Variant or passed to late-bound functions."
What can I do ?

