Note

class Note(impl)
property api

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

Added in version 0.24.2.

delete()

Delete the note.

Added in version 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'

Added in version 0.24.2.