Return to site

Ms word for mac 2011 border around picture

broken image

If apparently setting the line width to wdLineWidth100pt is an issue, you can try using the actual underlying integer value instead, e.g.: oInlineShape.Borders.

broken image

But after the object is inserted in your Word document, you’ll probably need to control how text wraps around it. ' Add border to pictures that are floating From pictures and graphs to SmartArt, you can easily add all sorts of objects to a Word document in Office 2011 for Mac. ' Add border to pictures that are 'inline with text'įor Each oInlineShape In ActiveDocument.InlineShapes The code is a little different depending on whether your image is formatted to be inline with text ( InlineShape) or floating ( Shape): Sub AddBorderToPictures() What you can do is write a VBA macro that adds the border to all images. Therefore, something like specifying a global style for images similar to CSS is not possible.

broken image

Unfortunately, there is no picture style concept available in Word.