在EXCEL表格中如何在不同单元格内批量插入批注

如题所述

在单一单元格内插入批注-复制-选定区域-选择性粘贴(粘贴批注)
温馨提示:答案为网友推荐,仅供参考
第1个回答  2010-02-03
Sub Macro1()
On Error Resume Next
Dim r As Range
If Selection.Cells.Count > 0 Then
For Each r In Selection
r.Comment.Delete
r.AddComment
r.Comment.Visible = False
r.Comment.Text Text:="本单元格:" & r.Address & " of " & Selection.Address
Next
End If

End Sub