Change the Default Picture Border in Word 2016
Question details
Change the color and thickness of picture borders in Word 2016 and apply consistent formatting to inserted images.

- Product
- Microsoft Word 2016
- Device & OS
- not provided
- Scenario
- A user wants inserted pictures to have a preferred border color and line thickness.
- Observed behavior
- Pictures appear with an unwanted thick blue border.
Select an affected picture and check Picture Tools > Format > Picture Border to see its current outline settings. For the macro method, make sure the picture uses the In Line with Text layout.
Use a macro to apply a consistent border to inline pictures
Use this method to apply the same border color and width to selected inline pictures across documents.
Saving the macro in the Normal template makes it available in Word documents, but it does not automatically change the default border for newly inserted pictures. Run it on each picture you want to format.
In Word, press Alt+F11. If the Project Explorer is hidden, choose View > Project Explorer.
Select the Normal project in Project Explorer, then choose Insert > Module.
Paste this code into the module: Sub SetPictureBorder() If Selection.InlineShapes.Count = 1 Then With Selection.InlineShapes(1).Borders .OutsideLineStyle = wdLineStyleSingle .OutsideColor = wdColorBlack .OutsideLineWidth = wdLineWidth050pt End With Else MsgBox "Select one inline picture first." End If End Sub
Press Ctrl+S to save the Normal project, then return to Word. Select one inline picture, press Alt+F8, choose SetPictureBorder, and click Run.

Change or remove a selected picture's border
Use the picture formatting tools for a quick change without a macro.
Adjust picture borders in WPS Writer
Use WPS Writer's picture formatting controls to change or remove the border on a selected image in a document.
- 1. Open your document: Launch WPS Writer and use Open to select your Word document.
- 2. Select a picture: Click the picture to display the picture formatting tools.
- 3. Adjust the border: On the Picture Tools tab, open the picture border or outline controls and choose a color and line weight, or select No Outline.
- 4. Save the document: Choose File > Save or Save As and select a Word format such as DOCX.

Frequently Asked Questions
Can I set a global default picture border in Word 2016?
The Picture Border controls format selected pictures and do not necessarily set a global default. A macro saved in the Normal template can apply your preferred border when you run it on a selected inline picture.
How do I remove the blue border from a picture?
Select the picture, open Picture Tools > Format > Picture Border, and choose No Outline.
Why does the macro ask me to select an inline picture?
The example works on one inline picture at a time. Select the picture and use its Layout Options to choose In Line with Text, then run the macro again.
How can I make the macro easier to run?
In Word, open File > Options > Customize Ribbon, select Customize next to Keyboard shortcuts, and assign a shortcut to the macro.




