如何在 Excel 工作表上自动添加注释?是否有一个公式可以创建像 "= Comment("etc")"
这样的评论?
例如,在每行都有简短介绍的列中,我认为注释比每个单元格中的长文本更好。
也欢迎其他替代方案。
最佳答案
使用 VBA 的一个简单答案是创建一个如下所示的 VBA 函数:
Option Explicit
Function InsertComment(Stringincell As String, StrinComment As String)
Application.Caller.ClearComments
Application.Caller.AddComment StrinComment
InsertComment = Stringincell
End Function
现在,您使用常规 Excel 并在单元格中输入函数/公式以获取文本作为注释:
=Comment("String to see in the cell","String you want to see in the comment")
关于excel - 添加注释作为公式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52965844/