Sub Borders()' Adds a border of 0.25 width and colored 50% gray to every image in the document.Dim pic As InlineShapeFor Each pic In ActiveDocument.InlineShapespic.Borders.OutsideLineStyle = wdLineStyleSinglepic.Borders.OutsideLineWidth = wdLineWidth025ptpic.Borders.OutsideColor = wdColorGray50NextEnd Sub