标题: Word护眼色切换宏 [打印本页]
作者: 老刘1号 时间: 2020-2-28 19:19 标题: Word护眼色切换宏
本帖最后由 老刘1号 于 2020-2-28 21:13 编辑
背景色调整(护眼色).bas- Attribute VB_Name = "文档背景色调整"
- Sub 绿豆沙护眼背景()
- ActiveWindow.View.DisplayBackgrounds = True
- ActiveDocument.Background.Fill.ForeColor.RGB = RGB(199, 237, 204)
- ActiveDocument.Background.Fill.Visible = msoTrue
- ActiveDocument.Background.Fill.Solid
- End Sub
- Sub 黑色背景()
- ActiveWindow.View.DisplayBackgrounds = True
- ActiveDocument.Background.Fill.ForeColor.RGB = RGB(0, 0, 0)
- ActiveDocument.Background.Fill.Visible = msoTrue
- ActiveDocument.Background.Fill.Solid
- End Sub
- Sub 白色背景()
- ActiveWindow.View.DisplayBackgrounds = True
- ActiveDocument.Background.Fill.ForeColor.RGB = RGB(255, 255, 255)
- ActiveDocument.Background.Fill.Visible = msoTrue
- ActiveDocument.Background.Fill.Solid
- End Sub
复制代码
设置为快捷键,可按照:
https://zhidao.baidu.com/question/499060134892652604.html
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |