![]() |
#1
|
|||
|
|||
![]()
CAN ANYBODY TELL MEHOW TO MAKE A MACRO THAT CHANGES THE WORD DISPLAY LENGUAGE TO SPANISH (INSTEAD OF CLICKING FILE>options>language>spanish>set as prefered,
Application.LanguageSettings.LanguageID(msoLanguag eIDUI) is read only thanks |
#2
|
|||
|
|||
![]()
Hi, Adal! Try this (for Office 16), although I'm not sure about es-es:
Code:
Sub Office_Prefd_Lang_Esp() CreateObject("WScript.Shell").RegWrite "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\LanguageResources\PreferredEditingLanguage", "es-es", "REG_SZ" End Sub |
#3
|
|||
|
|||
![]() Quote:
Registry settings can also be written using VBA without resorting to Windows Scripting. Application.System has a property, PrivateProfileString, that can be used to write to the registry, or to an INI file. |
![]() |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
rgros | Word VBA | 6 | 04-08-2021 01:38 AM |
![]() |
BobK | Word Tables | 1 | 12-01-2017 05:17 PM |
Macro to change language and untick 'do not check spelling' | William E | PowerPoint | 2 | 05-13-2017 01:47 PM |
![]() |
dejanm83 | Word VBA | 3 | 03-19-2017 02:36 PM |
![]() |
CSurghi | Word | 7 | 04-01-2016 10:54 AM |