excel 聚光灯效果 如何实现?
时间:2023-11-19 01:36:28
聚光灯效果
关于Excel聚光灯效果的文章,如上图所示。这是一个锦上添花的功能,当数据量比较大以及列数很多的情况下,作用尤其明显,有助于让用户知道现在所选的行以及列在哪里。请耐心观看,阅读仅需五分钟。
以下为动态演示:
Excel聚光灯效果动态演示
解析:
选中整个数据表格范围,新建规则公式:=(CELL("row")=ROW())+(CELL("col")=COLUMN()),并在格式中选择绿色。意思为:如果表格中单元格的所处行号=活动单元格的行号,或者单元格的所处列号=活动单元格的列号,则将单元格的背景色置为绿色。
但是这只在第一次的时候起作用,需要在VBA中(Alt+F11)写一段代码,如下。意思为,工作表选择变更的时候,自动刷新(Calculate)。
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Calculate
End Sub
是不是非常简单啊?小伙伴们可以去试一试。
标签:excel聚光灯效果
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
wps文字怎样打印文档
2023-03-01 21:54:54
在Windows、Windows Phone设备中使用密码同步实现wifi共享的方法
2022-11-08 04:29:59
![](https://img.aspxhome.com/file/2023/29/a254047_0s.jpg)
Win7旗舰版设置双屏显示教程
2023-06-25 05:42:34
![](https://img.aspxhome.com/file/2023/1/a278435_0s.png)
Win10系统截图功能失效如何解决?
2023-08-22 22:40:43
![](https://img.aspxhome.com/file/2023/5/a316992_0s.png)
WPS表格技巧—合并多单元内容公式
2023-08-30 17:42:07
腾讯会议如何开启云录制?腾讯会议开启云录制的方法
2022-04-24 11:17:03
![](https://img.aspxhome.com/file/2023/7/a327542_0s.png)
谈一谈PPT的快速制作
2022-12-18 20:51:12
Win8系统网页视频缓存文件位置在哪个文件夹
2023-02-17 00:51:26
![](https://img.aspxhome.com/file/2023/29/a252428_0s.jpg)
讲一讲excel数组公式是怎么计算的
2023-09-21 20:01:12
![](https://img.aspxhome.com/file/2023/3/a161873_0s.png)
资源管理器崩溃?那是Win10强制自动更新惹的祸
2023-06-28 08:35:35
![](https://img.aspxhome.com/file/2023/5/a315094_0s.jpg)
如何找回Win10任务栏上的文件资源管理器
2023-10-14 16:18:56
![](https://img.aspxhome.com/file/2023/26/a227595_0s.jpg)
Windows10如何进入高级启动修复系统故障?
2023-12-04 17:45:16
![](https://img.aspxhome.com/file/2023/1/a273251_0s.png)
一键装机Win7系统用什么好?Win7详细重装教程以及步骤
2023-10-02 01:46:27
![](https://img.aspxhome.com/file/2023/30/a269248_0s.png)
win7因为文件路径太深无法复制的解决方法
2022-02-09 00:35:15
![](https://img.aspxhome.com/file/2023/4/a309563_0s.jpg)
浅谈一下PPT美化要注意的地方
2022-11-24 04:19:03
Win7如何刷新dns缓存?Win7刷新dns缓存的方法
2022-01-23 17:43:18
![](https://img.aspxhome.com/file/2023/26/a228591_0s.jpg)
如何在PS中打开PDF格式文件?
2022-12-24 22:10:39
世界之窗浏览器缓存怎么清理?Win10清除世界之窗浏览器缓存的方法
2022-05-28 21:34:02
![](https://img.aspxhome.com/file/2023/26/a225564_0s.jpg)
PPT怎么截图?PPT截图的方法
2022-07-25 23:23:06
![](https://img.aspxhome.com/file/2023/4/a306679_0s.jpg)
Windows 8 的几种关机方式介绍(图文)
2022-02-16 06:20:49
![](https://img.aspxhome.com/file/2023/29/a258836_0s.jpg)