Skip to main content

如何在Excel中僅複製單元格的批註到另一個單元格?

Author: Sun Last Modified: 2025-05-12

當您只想將某範圍單元格中的批註複製到另一範圍的單元格時,可以通過以下技巧快速完成。

使用選擇性粘貼僅複製單元格中的批註

使用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

然後,所選範圍內的批註就被粘貼到了單元格中。

提示:點擊確定後不要按Enter鍵。否則,整個單元格的值將被複製到粘貼範圍。


使用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 個插入工具插入QR碼根據路徑插入圖片、...)   |   12 個轉換工具金額轉大寫匯率轉換、...)   |   7 個合併與分割工具高級合併行分割儲存格、...)   |   ... 還有更多

使用 Kutools for Excel 提升您的 Excel 技巧,體驗前所未有的高效。 Kutools for Excel 提供超過 300 種高級功能來提高生產力並節省時間。  點擊這裡獲取您最需要的功能...


Office Tab 將標籤式界面帶到 Office,讓您的工作更加輕鬆

  • 在 Word、Excel、PowerPoint、Publisher、Access、Visio 和 Project 中啟用標籤式編輯和閱讀。
  • 在同一窗口的新標籤中打開和創建多個文檔,而不是在新窗口中。
  • 將您的生產力提高 50%,每天為您減少數百次鼠標點擊!