segue exemplos:
Sub Copia_Img_Comentario()
Dim rngCol As Range, rng As Range
On Error Resume Next
Set rngCol = Intersect(ActiveSheet.Cells.SpecialCells(xlComments), Range("A:A"))
For Each rng In rngCol
With rng
.Comment.Visible = True
.Comment.Shape.Select
.Comment.Shape.CopyPicture _
Appearance:=xlScreen, Format:=xlPicture
.Comment.Visible = False
.Offset(0, 2).PasteSpecial ' copia p/ coluna C
End With
Next
End Sub
Sub Deletar_Img_Comentario()
Dim rngCol As Range, rng As Range
On Error Resume Next
Set rngCol = Intersect(ActiveSheet.Cells.SpecialCells(xlComments), Range("A:A"))
For Each rng In rngCol
With rng
.Comment.Shape.Delete
' .Comment.Delete 'Remove Comentario
End With
Next
End Sub
Click em se a resposta foi util!
Postado : 19/09/2016 11:13 am