The Problem (Q-score 7, ranked #10th of 32 in the Word VBA archive)
The scenario as originally posted in 2014
While typing sentences I would like to change the text color at few places. To do so I have to do it manually by going to fonts pop section. Is there any way to create a keyboard shortcut so that I can change the text color of some word in sentence while I am typing?
Why community consensus is tight on this one
Across 32 Word VBA entries in the archive, the accepted answer here holds strong answer (top 25 %%) status — meaning voters are unusually aligned on the right fix.
The Verified Solution — strong answer (top 25 %%) (+10)
Verbal answer — walkthrough without a code block
Note: the verified answer is a prose walkthrough. If you need a runnable sample, check Word VBA entries ranked in the top 10 of the same archive.
For Word 2010 and 2013, go to File > Options > Customize Ribbon > Keyboard Shortcuts > All Commands (in left list) > Color: (in right list) — at this point, you type in the short cut (such as Alt+r) and select the color (such as red). (This actually goes back to 2003 but I don’t have that installed to provide the pathway.)
When to Use It — classic (2013–2016)
A top-10 Word VBA pattern — why it still holds up
Ranks #10th of 32 in the Word VBA archive. The only pattern ranked immediately above it is “What makes Microsoft-Word-generated HTML documents so large in code?” — compare both if you’re choosing between approaches.
What changed between 2014 and 2026
The answer is 12 years old. The Word VBA object model has been stable across Office 2013, 2016, 2019, 2021, 365, and 2024/2026 LTSC, so the pattern still compiles. Changes that might affect you: 64-bit API declarations (use PtrSafe), blocked macros in downloaded files (Mark-of-the-Web), and the shift toward Office Scripts for web-first workflows.