Office Settings & Configuration

Change the Default Picture Border in Word 2016

Rana GarciaRana Garcia Nov 14, 2026 869 views

Question details

Change the color and thickness of picture borders in Word 2016 and apply consistent formatting to inserted images.

Change the Default Picture Border in Word 2016
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the Visual Basic Editor

In Word, press Alt+F11. If the Project Explorer is hidden, choose View > Project Explorer.

2
Add a module

Select the Normal project in Project Explorer, then choose Insert > Module.

3
Enter the macro

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

4
Save and run the macro

Press Ctrl+S to save the Normal project, then return to Word. Select one inline picture, press Alt+F8, choose SetPictureBorder, and click Run.

Use a macro to apply a consistent border to inline pictures
Adjust the border: The example applies a black, 0.5-point border. Change the color and line-width constants in the macro if you prefer different settings. Only enable macros you trust.
Format pictures in WPS Writer

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. 1. Open your document: Launch WPS Writer and use Open to select your Word document.
  2. 2. Select a picture: Click the picture to display the picture formatting tools.
  3. 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. 4. Save the document: Choose File > Save or Save As and select a Word format such as DOCX.
Change picture border colors and line weightsOpen and edit Microsoft Word DOCX and DOC filesUse a familiar ribbon-style interfaceWork with documents using the free WPS Office suite
QA img-9

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.