在代码中搜索文本
在模块中搜索特定文本
在 “编辑” 菜单上,选择“ 查找”。 The Find dialog box appears.
In the Find What box, type the text you want to search for (if you didn't select the text before displaying the dialog box).
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 to find an exact match.
Use Pattern Matching to use wildcards or ranges.
Choose Find Next.
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈