CorrectCapsLock Property Example
This example enables Microsoft Excel to automatically correct accidental use of the CAPS LOCK key.
Application.AutoCorrect.CorrectCapsLock = True