获取指定单元格注释的函数

有人在群里问如何获取Excel单元格的注释,就给他写了下面的代码。

1 Function FuncNote(strCell As Range)
2     Application.Volatile
3     FuncNote = strCell.Comment.Text
4 End Function

猜你喜欢

转载自www.cnblogs.com/wisever/p/8994725.html