I'm iterating through shapes of excel sheet. Some of shapes are comment shapes (sh.type == msoComment). I need to find cell attached to comment shape.
for each sh in activesheet.shapes
if sh.type == msoComment then
debug.print get_cell_from_shape(sh).address
end if
next
I know that I can iterate through cells and check if there is a comment, but it's to slow. I'm working on huge Excel files with only few comments. I've tried sh.parent but it returns worksheet. I've tried sh.topleftcell, but its wrong cell (not the one I need).
