Dim oAnnotations As Variant, oAnnotation As Variant
Dim oSheet, oDoc as object
Dim oCell, oCol as object
oDoc = ThisComponent.CurrentController
oSheet = oDoc.ActiveSheet
oCell = oSheet.getCellByPosition(0,0)
oCol = oSheet.Columns.getByIndex( 2 ) ’ 2 = Column C
oAnnotations = oSheet.getAnnotations()
Then…This oAnnotations gets comments from all sheet.
oAnnotations = oCell.getAnnotations()
Now…this oAnnotations gets comment from a cell
Why doesn’t oAnnotations = oCol.getAnnotations() get comments from a column?