Yes, you can intercept any built-in Word command.
Display the Visual Basic Editor by pressing Alt+F11 (or Alt+Fn+F11 on some keyboards). On the main menu, click View > Project Explorer (if necessary). Click the Normal project (which is a representation of the Normal template). Add a new Module from the Insert menu. Paste in the code from my previous message. Click the Save icon.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|