Note#

class Note(impl)#
property api#

返回正在使用的引擎的原生对象( pywin32appscript 对象)。

在 0.24.2 版本加入.

delete()#

Delete the note.

在 0.24.2 版本加入.

property text#

Gets or sets the text of a note. Keep in mind that the note must already exist!

示例#

>>> sheet = xw.Book(...).sheets[0]
>>> sheet['A1'].note.text = 'mynote'
>>> sheet['A1'].note.text
>>> 'mynote'

在 0.24.2 版本加入.