How we can draw border in picture using uipath word activity

I am trying to draw border in picture using UiPath word activity. if any one have solution please share.

image

@Dakesh_Kumar

Hi

Word Application Scope

Insert Picture - Insert the picture into the Word document
Use Invoke VBA

Sub AddPictureBorder()
Dim pic As InlineShape
For Each pic In ActiveDocument.InlineShapes
pic.Borders.Enable = True
Next pic
End Sub

Save Document - Save the Word document

Close Document - Close the Word document

Invoke VBA activity is for Excel

when I Use this code in Invoke code am fasing this issue.