跳至主要内容

如何在Excel中仅复制单元格中的批注到另一个单元格?

Author: Sun Last Modified: 2025-05-07

当您希望仅将一个单元格区域中的批注复制到另一个单元格区域时,可以通过以下技巧快速实现。

使用选择性粘贴仅复制单元格中的批注

使用VBA仅复制单元格中的批注

使用Kutools for Excel仅复制单元格中的批注


使用选择性粘贴仅复制单元格中的批注

1. 选择要复制批注的单元格;

2. 右键单击并选择复制

3. 选择粘贴区域中的一个单元格,右键单击并选择 选择性粘贴

screenshot of copycomments from cells to another with paste special 1

4. 在“ 选择性粘贴”对话框中,勾选“批注”,然后点击确定。参见截图:

screenshot of copycomments from cells to another with paste special 2

然后,所选范围内的批注将被粘贴到单元格中。

提示:单击确定后请勿按回车键。否则,整个单元格的值将被复制到粘贴区域。


使用VBA仅复制单元格中的批注

1. 按住ALT键并在键盘上按 F11以打开Microsoft Visual Basic for Applications窗口。

2. 点击 插入 > 模块,并将VBA代码复制到模块中。

VBA:仅复制单元格中的批注

Sub CopyComments()
'Update 20130815
Dim CopyRng As Range, PasteRng As Range
xTitleId = "KutoolsforExcel"
Set CopyRng = Application.Selection
Set CopyRng = Application.InputBox("Ranges to be copied :", xTitleId, CopyRng.Address, Type:=8)
Set PasteRng = Application.InputBox("Paste to (single cell):", xTitleId, Type:=8)
CopyRng.Copy
PasteRng.Parent.Activate
PasteRng.PasteSpecial xlPasteComments
Application.CutCopyMode = False
End Sub

 

3. 点击 运行按钮或按F5运行VBA代码。屏幕上会显示一个对话框,您可以选择要复制批注的单元格。参见截图:

screenshot of copycomments from cells to another with VBA 1

4. 点击 确定,另一个对话框会显示出来供您选择一个单元格或区域以粘贴结果。参见截图:

screenshot of copycomments from cells to another with VBA 2

6. 点击确定,然后只有单元格的批注会被粘贴到选定的单元格中。参见截图:

screenshot of copycomments from cells to another with VBA result 1
screenshot of copycomments from cells to another arrow
screenshot of copycomments from cells to another with VBA result 2

使用Kutools for Excel仅复制单元格中的批注

Kutools for Excel 多区域复制功能是仅复制和粘贴批注的好选择。

Kutools for Excel包含300多种便捷的Excel工具。免费试用30天无限制。立即获取

1. 选择您只想复制批注的单元格。

2. 点击Kutools > 区域 > 多区域复制,屏幕上会显示一个对话框,在对话框中勾选 批注,参见截图:

screenshot of copycomments from cells to another with kutools for Excel dialog

3. 然后点击 确定。另一个对话框会显示出来供您选择一个单元格或区域以粘贴结果。参见截图:

screenshot of copycomments from cells to another with kutools for Excel paste dialog

4. 点击 确定,只有批注会被粘贴到选定的单元格中。参见截图:

screenshot of copycomments from cells to another with kutools for Excel result 1
screenshot of copycomments from cells to another arrow 2
screenshot of copycomments from cells to another with kutools for Excel result 2

注意:您还可以将单元格的批注复制并粘贴到另一个工作表中。

使用Kutools for Excel多区域复制功能,您还可以仅复制值、公式等。

点击这里了解更多关于多区域复制的信息。


相关文章:

最佳办公效率工具

🤖 Kutools AI 助手:基于智能执行生成代码创建自定义公式分析数据并生成图表调用 Kutools 函数等功能,彻底改变数据分析方式…
热门功能查找、高亮或标记重复项 | 删除空行 | 合并不丢失数据的列或单元格 | 四舍五入 ...
高级 LOOKUP多条件 VLookup | 多值 VLookup | 多表查找 | 模糊查找 ....
高级下拉列表快速创建下拉列表 | 从属下拉列表 | 多选下拉列表 ....
列管理器添加指定数量的列 | 移动列 | 切换隐藏列的可见状态 | 比较区域和列 ...
精选功能网格聚焦 | 设计视图 | 增强编辑栏 | 工作簿与工作表管理器 | 资源库(自动文本) | 日期提取 | 合并数据 | 加密/解密单元格 | 按列表发送电子邮件 | 超级筛选 | 特殊筛选(筛选粗体/斜体/删除线...)...
排名前 15 的工具集12 种文本 工具添加文本删除特定字符等) | 50 多 种图表 类型甘特图等) | 40 多种实用 公式基于生日计算年龄等) | 19 种插入 工具插入二维码根据路径插入图片等) | 12 种转换 工具小写金额转大写汇率转换等) | 7 种合并与分割 工具高级合并行分割单元格等) | 还有更多...

使用 Kutools for Excel 提升您的 Excel 技能,体验前所未有的高效。 Kutools for Excel 提供超过 300 种高级功能来提高生产力并节省时间。 单击此处获取您最需要的功能...


Office Tab 将标签式界面引入 Office,让您的工作更加轻松

  • 在 Word、Excel、PowerPoint 中启用标签式编辑和阅读
  • 在同一窗口的新标签页中打开和创建多个文档,而不是在新窗口中进行操作。
  • 将您的生产力提升 50%,每天为您减少数百次鼠标点击!