Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 VBA 时,有时我会留下不完整的一行代码来处理其他行。
然后我会得到Msgbox "Compile Error: Expected: expression",我刚才留下的那行会是红色的。
如何抑制 MsgBox,但代码仍然变红?
你只能在全局范围内这样做;
工具>选项>编辑器并取消选择自动语法检查
您将收到视觉警告,但没有消息框