View Single Post
 
Old 05-27-2024, 01:25 AM
PatrickOfLondon PatrickOfLondon is offline Windows 11 Office 2021
Novice
 
Join Date: Oct 2022
Posts: 4
PatrickOfLondon is on a distinguished road
Default

To "Guessed", and everyone else who has contributed so far, thank you for helping by identifying:

Application.CommandBars.ExecuteMso "ViewFocusModeView"

and the route to finding it.

To get to its neighbour in the "View > Immersive" group (the Immersive Reader view) using VBA, it's the rather more cryptically named:

Application.CommandBars.ExecuteMso "ToggleLearningTools"

which works in my Office 2021, and might in some earlier versions, too.

Last edited by PatrickOfLondon; 05-27-2024 at 01:29 AM. Reason: removing stray comma
Reply With Quote