Setting the content language of cells in Excel

In MS Excel, is it possible to set the content language of cells e.g. per column? The purpose would be, among other things, to make proper spelling checks when the content is multilingual (e.g., a dictionary), like we can do in MS Word.

Solution:

Here’s a quick-and-dirty macro that you can hopefully adapt to your needs. As it is now, it will run a spell check in American English on Column A, and then run a spell check in Mexican Spanish in Column B. ย You can find the codes for supported languages here.

Sub multilanguageSC()Dim rngEng As Range, rngSpa As Range'Set ranges to check for each language.Set rngEng = ActiveSheet.Range("A:A")Set rngSpa = ActiveSheet.Range("B:B")'Set spelling dictionary language to English (US).Application.SpellingOptions.DictLang = 1033'Check spelling for designated English range.rngEng.CheckSpelling'Set spelling dictionary language to Spanish(Mexico).Application.SpellingOptions.DictLang = 2058'Check spelling for designated Spanish range.rngSpa.CheckSpelling'Set spelling dictionary back to default setting.Application.SpellingOptions.DictLang = Application.LanguageSettings.LanguageID(msoLanguageIDUI)End Sub
๐Ÿ’ 

๐Ÿ”ต Best-selling hard drives, USB flash drives & SSDs everyone's buying.

Fast, reliable, and on sale now. Thousands pick these weekly โ€” don't miss Amazon's lowest storage prices.

โšก Top 10 Bestsellers
๐Ÿ† 4.7โ˜…+ Reviews
๐Ÿ“ฆ Prime Shipping
๐Ÿ‘‰ See today's best-selling Data storage on Amazon.com HDD ยท USB Flash Drives ยท SSD ยท External Drives
๐Ÿ›’
โœ… Updated hourly โ€” Amazon real-time ranking ๐Ÿ”ฅ Limited stock deals ๐Ÿ”— Affiliate
โญ Click to see complete best-selling list โญ
Scroll to Top