End With 缺少 With
End With must be matched with a preceding With. This error has the following cause and solution:
- You used an End With statement without a corresponding With statement. Check other control structures within the With...End With structure and verify that they are correctly matched. For example, an If without a matching End If inside the With...End With structure can cause this error.
有关其他信息,选择有问题的项并按 F1(在 Windows 中)或 HELP(在 Macintosh 上)。
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。