|
-
Sep 9th, 2010, 04:31 AM
#1
Thread Starter
Addicted Member
Property Bag error
I have module with specific Type, and in another I have this
Public Data as tMyType
Public Inp as PropertyBag
I fill Data and tried this :
Data.F1 = 1
Data.F2 = "H"
..
Set Inp = New PropertyBag
Inp.WriteProperty "1", Data
and, on the last line I got Error like
"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 ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|