excel表格批量提取批注与删除批注
时间:2023-11-10 16:43:10
excel表格批量提取批注与删除批注
如下样表:
A列很多项目都已批注的形式注明了完成情况,现需要将完成情况的批注内容提取到B列备注中。
给大家一种自定义函数提取批注的方法。
实现过程
1、,打开VBA窗口,插入模块:
2、在模块中输入以下代码:
Function pz(rng As Range)
Application.Volatile
On Error GoTo err
pz = rng.Comment.Text
Exit Function
err:
pz = “”
End Function
即可实现自定义函数pz,可以提取批注。
3、保存为启用宏的工作簿,在B2单元格输入公式=pz(A2),确定,公式向下填充,即可批量提取批注。
保存与使用过程如下动图:
批量删除批注
如果大量数据中,存在不规律分布的批注,可用【查找】-【批注】功能定位到有批注的单元格,右键删除批注。
如下动图:
标签:excel函数应用,excel数据透视表,excel表格制作,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word文档中的表格转换为图表的方法
2023-12-08 17:45:24
![](https://img.aspxhome.com/file/2023/2/20362_0s.jpg)
Excel中要打印出来网格线的方法
2022-05-04 16:29:27
教你Win8.1远程桌面太卡的解决方法
2023-05-07 12:42:18
![](https://img.aspxhome.com/file/2023/2/a288540_0s.jpg)
如何解决电脑复制粘贴不能用的问题
2023-08-21 04:00:09
![](https://img.aspxhome.com/file/2023/6/a326593_0s.jpg)
PPT参考线能自动对齐实现教程
2023-04-01 18:20:41
![](https://img.aspxhome.com/file/2023/6/a154896_0s.gif)
用PowerPoint制作比赛计时器
2022-09-24 22:35:47
kbox如何录歌?kbox录歌的方法
2023-06-02 09:35:22
![](https://img.aspxhome.com/file/2023/8/a337679_0s.jpg)
Windows10系统电脑卖这么好?真的吗?
2023-12-02 23:59:48
![](https://img.aspxhome.com/file/2023/4/a308604_0s.jpg)
PS如何使用图片滤镜?
2023-04-06 14:14:40
![](https://img.aspxhome.com/file/2023/9/a341778_0s.png)
WPS 如何在Excel表格中制作联想动态下拉菜单
2022-03-23 18:30:41
![](https://img.aspxhome.com/file/2023/6/a185886_0s.jpg)
word文档打不开无反应发送错误报告怎样解决
2023-02-13 23:41:53
电脑麦克风有杂音怎么办_消除电脑麦克风有杂音的方法
2023-12-28 18:08:38
![](https://img.aspxhome.com/file/2023/4/a302986_0s.png)
Win7连接不上电信China-NET怎么办?
2022-08-02 23:32:53
![](https://img.aspxhome.com/file/2023/27/a233490_0s.jpg)
win7怎么设置分辨率 分辨率不能调整怎么解决
2023-01-06 21:08:39
![](https://img.aspxhome.com/file/2023/3/a292320_0s.jpg)
win8.1搜索不到无线信号怎么办
2022-08-17 07:08:09
![](https://img.aspxhome.com/file/2023/4/a309638_0s.jpg)
如何修复您的频道选项将受到限制Windows11错误?
2022-09-22 01:10:43
![](https://img.aspxhome.com/file/2023/1/a273838_0s.jpg)
QQ五笔输入法怎样进行中英文切换
2022-05-18 17:51:46
![](https://img.aspxhome.com/file/2023/5/a318301_0s.jpg)
iOS 14 小组件新增两个功能:位置权限和屏幕使用时间
2023-11-30 20:50:00
![](https://img.aspxhome.com/file/2023/0/a194660_0s.png)
夸克的片库在哪?怎么不见了?
2023-02-03 13:06:50
![](https://img.aspxhome.com/file/2023/30/a265611_0s.png)
Excel双击单元格某边移动选定单元格
2023-11-07 10:22:08
![](https://img.aspxhome.com/file/2023/5/37165_0s.jpg)