![]() |
|
#10
|
|||
|
|||
|
Application.CommandBars.ExecuteMso "ViewFocusModeView" was the ticket, thanks Guessed. That is an easy way to toggle Focus Mode.
Now wondering if I can detect which mode I am in (in order to display Nav Pane, change Page Color, etc., based on mode) I know I can do something like this for Print View: Code:
test1 = ActiveWindow.View.Type = wdPrintView The use of ExecuteMso implies there is no object for it? CommandBars.ExecuteMso method (Office) | Microsoft Learn Quote:
|
| Tags |
| distraction-free, focus mode |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Remove toggle button "focus" (dotted inner border) using VBA
|
Matt C | Excel Programming | 7 | 05-22-2022 04:32 AM |
| Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro | Matt C | Excel Programming | 2 | 01-08-2022 06:03 AM |
Using "draw"tab crashes word- safe mode fixes temporarily?
|
owl | Drawing and Graphics | 11 | 10-04-2017 10:11 AM |
| "one click" function to switch between branded presentations | davidolone | PowerPoint | 0 | 01-16-2016 01:54 PM |
PPT 2010 Action - Run Program reverses "/" switch character
|
wflett | PowerPoint | 4 | 03-17-2015 04:03 AM |