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

Expected user-defined type, not project

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

There is no user-defined type by this name in the currentscope, but there is a project by this name. You can define avariable as having user-defined type, but not project type. This error has the following cause and solution:

  • The name of a project is used as a user-defined type. Check the spelling of the name of the user-defined type, and make sure the user-defined type isn't private to another module.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft