I have a PowerPoint that contains about 50 slides. Each slide can have 1 or more comments provided by the revision (performed using the insert menu-> comments).
I am trying to get comments programmatically exported to a text file using this VBA code:
Sub ConvertComments()
''
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
''
WriteToATextFile oCom.Author, <what needs to come here>, oCom.Text
Next oCom
Next oSl
End Sub
In the above code, I also need to provide a comment context for writing to a text file (which line on the slide was selected and commented out)
Question: Is there any attribute that I can use to get this information?
source
share