当前位置:首页 / Word

Word深色模式怎么保存?如何设置后自动应用?

作者:佚名|分类:Word|浏览:200|发布时间:2025-03-27 12:34:48

Word深色模式怎么保存?如何设置后自动应用?

随着科技的发展,越来越多的应用程序开始支持深色模式,以减少对眼睛的刺激,提高使用舒适度。Microsoft Word作为办公软件的佼佼者,也加入了这一行列。那么,如何在Word中开启深色模式,并设置其自动应用呢?以下将为您详细解答。

一、Word深色模式的开启与保存

1. 开启深色模式

在最新的Microsoft Word版本中,开启深色模式非常简单。以下是以Word 2019为例的步骤:

(1)打开Word文档。

(2)点击“文件”菜单,选择“选项”。

(3)在弹出的“Word选项”窗口中,找到“高级”选项卡。

(4)在“显示”区域,勾选“使用深色主题(仅限Windows 10)”。

(5)点击“确定”按钮,Word将自动切换到深色模式。

2. 保存深色模式设置

为了在下次打开Word时自动应用深色模式,我们需要将设置保存下来。以下是保存设置的步骤:

(1)在“Word选项”窗口中,点击“保存”选项卡。

(2)在“保存位置”下拉菜单中,选择一个便于记忆的文件夹。

(3)在“文件类型”下拉菜单中,选择“Word文档 (*.docx)”。

(4)在“文件名”文本框中输入文件名,例如“Word深色模式设置”。

(5)点击“保存”按钮,将设置保存为文档。

二、Word深色模式自动应用设置

1. 创建宏

为了使Word在打开时自动应用深色模式,我们可以通过创建一个宏来实现。以下是创建宏的步骤:

(1)在“Word选项”窗口中,点击“自定义功能区”。

(2)在“从以下位置选择命令”下拉菜单中,选择“所有命令”。

(3)在列表中找到“宏”,并将其拖拽到快速访问工具栏。

(4)点击快速访问工具栏中的“宏”,在弹出的“宏”窗口中,输入宏名,例如“开启深色模式”。

(5)点击“创建”按钮,进入VBA编辑器。

(6)在VBA编辑器中,输入以下代码:

```vba

Sub 开启深色模式()

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar = False

Application.DisplayFullMenus = False

Application.DisplayFullToolbars = False

Application.DisplayRibbonTabs = False

Application.DisplayFormulaBar = False

Application.DisplayStatusBar = True

Application.DisplayScreenTips = True

Application.DisplayAlerts = wdAlertsAll

Application.DisplayFullMenus = True

Application.DisplayFullToolbars = True

Application.DisplayRibbonTabs = True

Application.DisplayFormulaBar = True

Application.DisplayAlerts = wdAlertsNone

Application.DisplayScreenTips = False

Application.DisplayStatusBar =