行不是可执行的语句

声明注释不是可执行语句。 此错误具有以下原因和解决方案:

  • You chose the Step To Cursor command, but the cursor was not on a line containing an executable statement. Place the cursor on an executable statement near the current line.

For additional information, choose the Step To Cursor command on the Run menu and press F1 (in Windows) or HELP (on the Macintosh).

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。