Most likely, you activated the option by pressing Alt+F9 by mistake (it's a toggle).
In the Word Options dialog box (File tab | Options), you'll find the corresponding option in the Advanced category; look under "Show document content" for "Show field codes instead of their values."
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|