Comment.Edit method (Word)
Opens the specified OLE object for editing in the application it was created in.
Syntax
expression.Edit
expression Required. A variable that represents a 'Comment' object.
Example
This example opens (for editing) the first embedded OLE object (defined as a shape) on the active document.
Dim shapesAll As Shapes
Set shapesAll = ActiveDocument.Shapes
If shapesAll.Count >= 1 Then
If shapesAll(1).Type = msoEmbeddedOLEObject Then
shapesAll(1).OLEFormat.Edit
End If
End If
This example opens (for editing) the first linked OLE object (defined as an inline shape) in the active document.
Dim colIS As InlineShapes
Set colIS = ActiveDocument.InlineShapes
If colIS.Count >= 1 Then
If colIS(1).Type = wdInlineShapeLinkedOLEObject Then
colIS(1).OLEFormat.Edit
End If
End If
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.