Table of contents
TOC
折叠目录
展开目录

下标或属性中不允许的退出函数Exit Function not allowed in Sub or Property

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

Exit语句必须匹配过程进行的。此错误有以下原因和解决方案:An Exit statement must match theprocedure in which it occurs. This error has the following cause and solution:

  • Sub属性过程中使用退出功能。对于这些类型的过程使用Exit Sub退出属性You used Exit Function in a Sub or Property procedure. Use Exit Sub or Exit Property for these types of procedures.

有关其他信息,请选择相关项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

© 2018 Microsoft