The On Error GoTo statement is used to react to errors that occur in a macro. The statement must be inserted at the start of a procedure (in a local error-handling routine) or at the start of a module.
On Error GoTo 语句用于处理宏中发生的错误。该语句必须插入到过程（在本地错误处理例程中）或模块的开始位置。