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

Statement invalid inside Type block

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

Only element names, their Astype clauses, andcomments are allowed within a Type...End Type statement block. This error has the following cause and solution:

  • You placed an invalid statement in user-defined type definition.

    Remove anything that isn't a comment, an element name, or an Astype clause.

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

© 2018 Microsoft