Change spell check in Outlook quick reply

Using the Outlook quick reply (CTRL + R) and the need to change the language grammar checker? Such an option is only on the Review tab > Language, which is visible but only after the message is opened in a new window. There is a way around it, using the macro below. If this guide has helped you, become a fan on Facebook and recommend this site to your friends, it can be useful for them too.

Create a module

We must create a macro to change the language in a quick reply, which will run by eg. an icon. So invoke the programming environment VBA (Visual Basic for Application), I use press Alt + F11.

Here we choose to create a new macro (module) as shown, use the right mouse and create new “module”.

Outlook nový modul
Outlook nový modul

Inside the text area so called module, that we just created, insert following code, you can copy directly from this site:-).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Sub raonaset_language(language As Integer)
    Dim myContent As Word.Document 
    If TypeName(Application.ActiveWindow) = "Explorer" Then
        Set myContent = Application.ActiveExplorer.ActiveInlineResponseWordEditor
    End If    
    If TypeName(Application.ActiveWindow) = "Inspector" Then
        Dim myMail As Outlook.MailItem
        Set myMail = Application.ActiveInspector.CurrentItem
        Set myContent = Application.ActiveInspector.WordEditor
    End If  
    myContent.Content.LanguageID = language
    myContent.Content.GetSpellingSuggestions 
End Sub
 
Sub raonaset_CZ()
    raonaset_language (1029)
End Sub
 
Sub raonaset_EN()
    raonaset_language (1033)
End Sub
 
Sub raonaset_EN_GB()
    raonaset_language (2057)
End Sub

In the code, we see macro to change the language that uses Word for help. To make the macro work, we must enable support for Word library, which is done in the VBA editor window by Tools > References and find Microsoft Word 15.0 Object Library. There tick, then it should look like the image below. The number 15.0 is intended for release in 2013, use another number specified in the different versions.

Knihovna Word VBA
Knihovna Word VBA

Now you just need to save it and close VBA editor.

Allow macro

To make the macro work the next time you start Outlook, set the macro security warning or a permanent allow. Use Outlook’s File > Options > Trust Center> Trust Center Settings, then enable the macros, or display notifications for all macros to always ask for permission in Outlook.

Centrum zabezpečení
Centrum zabezpečení
Potvrzení povolení maker
Potvrzení povolení maker

Thus, we should have all set. To start switch the language in the quick reply we put mouse in the reply body and call for specific macro language. In the code I used languages Czech, English (US) and English (GB). To add additional languages, you must know its ID, which you will find in this table. We switch between them by selecting the specific macro example. Alt + F8. Nicer might be to place the icon on the top panel, viz. further.

Create buttons

We use the adjustments of the Ribbon. Choose File > Options> Customize the Ribbon. First, use the right side. Expand Home tab and create the new group, place it at the end and name it Languages. On the left side, select a category Macros and add them to the right part to this new group. Individual icons for languages can be renamed and changed with image, to do this click Rename. The result may look like the image below.

Vlastní tlačítka na pásu karet
Vlastní tlačítka na pásu karet
Tlačítka pro změnu jazyka
Tlačítka pro změnu jazyka

6 Comments

  • Nejsem odborník, vůbec se v makrech nevyznám, ale místo makra jsem v Možnosti – Přizpůsobit pás karet – vytvořit složku Jazyk pod složku Domů jak je popsáno výše – v levém sloupci jsem si našla pod Karty nástrojů – Nástroje pro psaní (druhý od konce) – Kontrola pravopisu – Jazyk. Toto je teda to co jsem hledala.

    Reply
  • Pro ty, co potřebují jiné jazyky, tak zde je seznam identifikátorů jazyků v Office. Třeba Němčina je 1031.
    https://docs.microsoft.com/en-us/deployoffice/office2016/language-identifiers-and-optionstate-id-values-in-office-2016
    Každopádně díky za tohle makro. Za den napíšu hromadu emailů v třech různých jazycích a lovit kontrolu pravopisu někde v nějakých dalších záložkách, lovit ze sáhodlouhého seznamu jazyků ten který chci … na palici.

    Reply
  • Dobrý den, ikonky jsem si asi před dvěma lety nainstaloval dle návodu a vše fungovalo super. Nedávno jsme jako společnost přešli na Office 365 a od té doby jsou ikonky neaktivní. Kontroloval jsem nastavení a vše se zdá být, tak jak je to uvedené v návodu, pouze jedna změna je u References, kde mám zatrženo Microsoft Word 16.0 Object Library. jinak je vše stejné, ale pořád mi to píše hlášku:
    The macros in this project are disabled……………
    budete mi schopen poradit, kde by mohla být chyba?
    Díky

    Reply
    • Dobrý den,

      Je potřeba povolit makra, Soubor-Možnosti – Centrum zabezpečení – Nastavení Centra zabezpečení – Nastavení maker – Povolit všechna makra.

      Reply
      • Dobrý den,

        povolená Makra mám.

        díky

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top