最快方式实现WPS的阅读模式
时间:2022-12-22 19:24:39
群里小伙伴最近询问最多的就是,Excel能像WPS一样有阅读模式吗?
我回答了无数次没有,要用其他方式才能实现,大部分都要VBA
这里干脆写个教程,来个最简单就能实现的办法,快速无脑直接操作
按照我视频操作,5秒钟实现
不信,跟 * 作一次
先上代码
‘全部放在工作表模块里,执行FormatCondition程序,就实现了阅读模式(聚光灯)’生成条件格式Sub FormatCondition() Dim tj As Object Range(“A2:T300”).Select ‘是聚光灯范围,可以根据情况改,去掉第一行表头了 Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _ “=OR(ROW()=CELL(“”row””),COLUMN()=CELL(“”col””))” Selection.FormatConditions(Selection.FormatConditions.Count).SetFirstPriority With Selection.FormatConditions(1).Interior .Color = RGB(226, 239, 218) ‘是显示颜色可以改,这里是浅绿色 End With Selection.FormatConditions(1).StopIfTrue = FalseEnd Sub’重算代码,放到工作表模块里Private Sub Worksheet_SelectionChange(ByVal Target As Range) Calculate End Sub’取消全部条件格式,这个要慎重使用,直接全部取消了Sub QuickCondition() Cells.FormatConditions.DeleteEnd Sub
代码可以直接往右划
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
笔记本搜索不到无线网怎么办?
![](https://img.aspxhome.com/file/2023/30/a269301_0s.png)
Win10如何退出桌面磁贴模式?
![](https://img.aspxhome.com/file/2023/1/50261_0s.png)
home键失灵怎么办?教你几招解决方法
接到陌生的FaceTime来电 我们应该怎样做?
![](https://img.aspxhome.com/file/2023/3/a200463_0s.jpg)
Excel表格中大于某一数值的显示为一个颜色
WPS 如何去掉Word标题前面的小黑点
![](https://img.aspxhome.com/file/2023/3/a186543_0s.jpg)
Win10全新开始菜单使用全攻略
![](https://img.aspxhome.com/file/2023/26/a226679_0s.jpg)
如何在WPS文字中对文档进行加密及属性设置
鸿蒙系统控制中心音乐怎么换?鸿蒙控制中心的音乐怎么弄成网易云?
![](https://img.aspxhome.com/file/2023/6/a323998_0s.png)
产品研发团队如何用WPS⁺云办公高效开展产品研发工作?
搜狗手机输入法怎么找文字复制记录_搜狗输入法找文字复制记录的操作方法
![](https://img.aspxhome.com/file/2023/4/a311972_0s.jpg)
如何利用PPT绘制极简三圆效果表达?
![](https://img.aspxhome.com/file/2023/10/a351678_0s.jpg)
笔记本电脑没有声音了怎么恢复?
![](https://img.aspxhome.com/file/2023/6/a321638_0s.jpg)
windows10怎么关闭广告
![](https://img.aspxhome.com/file/2023/1/a280345_0s.jpg)
Win10系统如何关闭屏保?Win10系统屏保关闭教程
![](https://img.aspxhome.com/file/2023/1/a283235_0s.jpg)
wps演示如何使用魔法棒功能
Win11没有有效的ip配置怎么办?Win11没有有效的ip配置解决方法
![](https://img.aspxhome.com/file/2023/27/a234729_0s.png)
win10不识别sd卡怎么办?Win10无法识别不能读取SD卡的解决方法
![](https://img.aspxhome.com/file/2023/28/a239843_0s.jpg)
Win11搜索栏一直刷新怎么办?Win11搜索框一直加载的解决办法
![](https://img.aspxhome.com/file/2023/30/a263741_0s.jpg)