Excel用户将文本框的值写入注释

我想将用户自定义文本框中的值input转换为注释。 到目前为止,我还没有find任何可行的方法。 目前我有这个

单元格(emptyRow,8).AddComment.Text = NotesTextBox.Value

这甚至有可能吗?

文本只能作为parameter passing给.AddComment

 Cells(emptyRow, 8).AddComment NotesTextBox.Value 

是的,这是可能的…你的问题的问题是,这是一个足够的答案。 你可能会解释更多你的问题。 正确的语法是:

 Cells(emptyRow, 8).AddComment NotesTextBox.Value