Table of contents

语句过于复杂Statement too complex

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

Visual Basic 无法分析此语句。此错误的原因和解决方案如下:Visual Basic is unable to analyze this statement. This error has the following causes and solutions:

  • 由于其复杂性而无法分析所需的语句。尝试将语句分成几个较小的组件,或如果复杂条件子句替换逻辑运算符和的组合...然后...其他语句。Your statement can't be parsed due to its complexity. Try breaking the statement into several smaller components or replace complex conditional clauses with a combination of logical operators and If...Then...Else statements.

  • 您的语句或函数使用过多的嵌套的函数调用。前面部分进行函数调用,并将结果指派给特定的变量;然后导致复杂性错误的语句中使用的变量。Your statement or function uses too many nested function calls. Make function calls earlier and assign the results to specific variables; then use the variables in the statement that is causing the complexity error.

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

© 2018 Microsoft