in reply to Re^3: How to get spelling suggestions in EnglishUK language as default in Win32::OLE
in thread How to get spelling suggestions in EnglishUK language as default in Win32::OLE

Please can you send the macro code. I tried macro with word.but i can check the word is present in EnglishUK dictionary. but i am not able to get the spell suggestion.
  • Comment on Re^4: How to get spelling suggestions in EnglishUK language as default in Win32::OLE

Replies are listed 'Best First'.
Re^5: How to get spelling suggestions in EnglishUK language as default in Win32::OLE
by cdarke (Prior) on Feb 22, 2010 at 13:57 UTC
    VB Macro code as requested, 'fraid you'll have to convert it to perl yourself.
    Sub UKEnglish() ' ' UKEnglish Macro ' Macro recorded 2/22/2010 by Clive Darke ' ActiveDocument.AttachedTemplate.LanguageID = wdEnglishUK ActiveDocument.AttachedTemplate.NoProofing = False Selection.LanguageID = wdEnglishUK Selection.NoProofing = False Application.CheckLanguage = False End Sub