I'd like to return an array with several variables of a user-defined type from a function. Couldn't find a solution!
I get a Compile error on Function() As Variant:
"Only user-defined types defined in public object modules can be coerced to or from a variant or passed to late-bound functions"
and a Compile error on Function As Variant:
"Type mismatch"
Any help is appreciated, thank youPlease Login or Register to view this content.
Bookmarks