Table of contents
TOC
Collapse the table of content
Expand the table of content

Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

This error has the following cause and solution:

  • You attempted to use a public user defined type as a parameter or return type for a public procedure of a class module, or as a field of a public user defined type. Only public user defined types that are defined in a public object module can be used in this manner.
© 2018 Microsoft