Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-08-2023, 07:49 AM
MrXDev MrXDev is offline How can I switch to/from "Focus Mode" with VBA? Windows 11 How can I switch to/from "Focus Mode" with VBA? Office 2021
Novice
How can I switch to/from "Focus Mode" with VBA?
 
Join Date: Mar 2023
Posts: 2
MrXDev is on a distinguished road
Default How can I switch to/from "Focus Mode" with VBA?

Hi All,



I would like to switch to "Focus Mode" (Word's distraction-free, full screen view) with VBA code. I've done a bunch of Google searches and have had no luck.

Any assistance would be very appreciated.

Thanks in advance!

MrXDev
Attached Images
File Type: png WordFocusMode.png (25.4 KB, 7 views)

Last edited by MrXDev; 03-08-2023 at 10:09 AM. Reason: add file
Reply With Quote
  #2  
Old 03-08-2023, 08:15 AM
gmayor's Avatar
gmayor gmayor is offline How can I switch to/from "Focus Mode" with VBA? Windows 10 How can I switch to/from "Focus Mode" with VBA? Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Do you mean reading layout view?
Code:
ActiveWindow.View.ReadingLayout = True
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 03-08-2023, 08:26 AM
MrXDev MrXDev is offline How can I switch to/from "Focus Mode" with VBA? Windows 11 How can I switch to/from "Focus Mode" with VBA? Office 2021
Novice
How can I switch to/from "Focus Mode" with VBA?
 
Join Date: Mar 2023
Posts: 2
MrXDev is on a distinguished road
Default

Hi. Thanks for the reply.
No, I'm looking for the full-screen, distraction-free editing mode

Screen shot:
Microsoft services
Reply With Quote
  #4  
Old 06-22-2023, 02:41 AM
PatrickOfLondon PatrickOfLondon is offline How can I switch to/from "Focus Mode" with VBA? Windows 11 How can I switch to/from "Focus Mode" with VBA? Office 2016
Novice
 
Join Date: Oct 2022
Posts: 3
PatrickOfLondon is on a distinguished road
Default More information to hunt this down

Hi,

I have the same problem -- can't find a way of entering this view type from VBA.

In case it might help others to help us, MrXDev (and I) want to use VBA to get to the view you reach manually in Word when you:

-- click on the View tab on the ribbon

-- in the Immersive group on the View ribbon, click Focus

Can anyone help please?
Reply With Quote
Reply

Tags
distraction-free, focus mode



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I switch to/from "Focus Mode" with VBA? 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
How can I switch to/from "Focus Mode" with VBA? 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
How can I switch to/from "Focus Mode" with VBA? PPT 2010 Action - Run Program reverses "/" switch character wflett PowerPoint 4 03-17-2015 04:03 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:49 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft