替换代码中的文本
替换模块中的文本
在 “编辑” 菜单上,选择“ 替换”。 The Replace dialog box appears.
In the Find What box, type the text you want to search for.
In the Replace With box, type the replacement text.
Select a Search option to specify where to look for the text.
Select a direction from the Direction list to specify the direction of the search.
若要设置搜索限制,请选择:
Find Whole Word Only to search for the complete word by itself, and not as part of another word.
Match Case for an exact match.
Use Pattern Matching to use wildcard characters.
如果要在替换文本之前确认更改,请选择“ 查找下一个 ”,选择“ 替换 ”以替换突出显示的找到文本的匹配项并自动执行 “查找下一个”,或者选择“ 全部替换 ”以自动更改搜索文本的所有匹配项。
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈