Visual Basic 无法确定要采取的操作。 此错误具有以下原因和解决方案:
- 
关键字和命名参数的名称必须与其语法规范中指定的内容完全匹配。 查看在线帮助,然后纠正拼写。 
- 标点错误。 例如,按位置忽略可选参数时,必须将逗号 (,) 替代为忽略的参数的占位符。 
- 未定义过程。 - 检查过程名称的拼写。 
- You tried to specify both Optional and ParamArray in the same procedure declaration. A ParamArray argument can't be Optional. Choose one and delete the other. 
- You tried to define an event procedure with an Optional or ParamArray parameter. Remove the Optional or ParamArray keyword from the parameter specification. 
- You tried to use a named argument in a RaiseEvent statement. 事件不支持命名参数。 
有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。