我有一份包含大约50张幻灯片的PowerPoint文档。每张幻灯片可能会有一个或多个评论,这些评论是由审阅者通过插入 -> 评论菜单添加的。
我正在尝试使用以下VBA代码以编程方式将注释导出到文本文件中:
Sub ConvertComments()
''# Converts new-style comments to old
Dim oSl As Slide
Dim oSlides As Slides
Dim oCom As Comment
Set oSlides = ActivePresentation.Slides
For Each oSl In oSlides
For Each oCom In oSl.Comments
''# write the text to file : (oCom.Text)
WriteToATextFile oCom.Author, <what needs to come here>, oCom.Text
Next oCom
Next oSl
End Sub
在上述代码中,我需要提供注释上下文以便写入文本文件(选择了哪行幻灯片并进行了评论)。
问题:有没有可以使用的属性来获取此信息?