DefaultWritingStyle Property Example

This example returns the default writing style in a message box.

myLang = Selection.LanguageID
Msgbox Languages(myLang).DefaultWritingStyle

This example sets the writing style for U.S. English to Casual, and then it checks spelling and grammar in the active document.

Languages(wdEnglishUS).DefaultWritingStyle = "Casual"
ActiveDocument.CheckGrammar