Classic Spell Check Dialog - Macro to use to get classic dialog rather than Editor

Here is a macro that checks spelling and grammar using the classic dialog box.

I am not sure what the effect of options in the Proofing Options will have on it.

It checks selected text or entire document. When done with selected text, asks about rest of document.

I include an IF to check on the version. I do not know how the ActiveDocument.CheckGrammar would work in earlier versions. Probably will be OK.


Word Version 1901 (Word 2016/2019/365)


Sub ToolsProofing() 'SpellCheckDocumentClassic()  Intercepts F7 keyboard shortcut
    'Charles Kenyon  26 February 2019
    If Application.Version < "16.0" Then
        Dialogs(wdDialogToolsSpellingAndGrammar).Show
    Else
        ActiveDocument.CheckGrammar
    End If
End Sub

The following (launching the dialog) still does not work. 

Sub SpellCheckDisplayClassicSpellCheckDialog()
'Macro created by Stefan Blom, MVP, September 2018
'https://answers.microsoft.com/en-us/msoffice/forum/msoffice_word-mso_win10-mso_o365b/word-2016-how-to-enable-old-style-spell-check/095bf6ce-7adb-4ac9-94c4-dcfe6cfb34af
'
    On Error Resume Next
    Dialogs(wdDialogToolsSpellingAndGrammar).Show
End Sub

Instructions for Installing Macros from Forums or Websites by Graham Mayor, MVP

See Using the Classic Spell Check Dialog Instead of Editor

 

Discussion Info


Last updated August 13, 2019 Views 211 Applies to:
Thank you Charles - it now works again!  Was this MS enabling the Dialog in the latest version?