Check grammar in Word by signing in at office.com, opening Word, and going to Editor on the Home tab. Editor provides help with grammar and spelling.
Set myStat = ActiveDocument.ReadabilityStatistics passGram = ActiveDocument.GrammarChecked If passGram = True Then Msgbox myStat(1).Name & " - " & myStat(1).Value Else ActiveDocument.CheckGrammar End If 本示例设置活动文档的 GrammarChecked 属性为 False,然后再次进行语法检查。VB...
Set myStat = ActiveDocument.ReadabilityStatistics passGram = ActiveDocument.GrammarChecked If passGram = True Then Msgbox myStat(1).Name & " - " & myStat(1).Value Else ActiveDocument.CheckGrammar End If 本範例會將使用中文件的 GrammarChecked 屬性設定為 False,然後再次執行文法檢查。VB...
Microsoft Editor runs in Word for Microsoft 365 to analyze your document and offer suggestions for spelling, grammar, and stylistic issues, like making sentences more concise, choosing simpler words, or writing with more formality. To use Editor, on theHometab chooseEditor. Reviewing...
Beyond just an online grammar check, if you are struggling to solve a word puzzle or anything like that, theword scramblercan help! What is the best grammar checker? When it comes to choosing the best grammar checker, there are many things to consider. For one, you want to think about ...
Word 程序集: Microsoft.Office.Interop.Word.dll 开始对指定的区域执行拼写和语法检查。 C# 复制 public void CheckGrammar (); 注解 如果文档或区域包含错误,此方法将显示“拼写和语法”对话框 (“工具”菜单) ,并选中“检查语法检查”框。 该方法应用于文档时,将检查文档中所有可用文字的拼写(如页眉、页脚...
For more information about the Editor browser extension, seeCheck grammar and spelling with the Microsoft Editor browser extension. See also Learn more via theEditor in Word Tutorial.
expression.CheckGrammar 表达式是必需的。 一个代表Range对象的变量。 备注 如果该区域中包含错误,则该方法显示“拼写和语法”对话框,并且“检查语法”复选框处于选定状态。 示例 本示例检查 MyDocument.doc 中第二节的拼写和语法。 VB SetRange2 = Documents("MyDocument.doc").Sections(2).Range Range2.Check...
expression.CheckGrammar(String) expression 必需。该表达式返回一个 Application 对象。 StringString 类型,必需。要对其进行语法检查的字符串。 应用于 Document 和 Range 对象的 CheckGrammar 方法。 开始对指定的文档或区域执行拼写和语法检查。如果文档或区域中包含错误,则该方法显示“拼写和语法”对话框(单击“工具...
Set Range2 = Documents("MyDocument.doc").Sections(2).Range Range2.CheckGrammar 本示例开始对选定部分执行拼写和语法检查。VB 复制 Selection.Range.CheckGrammar 另请参阅Range 对象支持和反馈有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。