3 Ways to Change Inline Pictures to Floating Ones in Your Word Document

In this article, we will present you with 3 ways to change inline pictures to floating ones in your Word document.

As you may be aware, whenever we insert a picture into a Word document, it takes the “In line with text” wrapping style by default. In this way, a picture is considered as a large character, which makes us hard to move it around simply by clicking and dragging. Accordingly, we need to change these inline pictures to floating ones as to easily adjust their locations.Change Inline Pictures to Floating Ones

As always, we have 3 methods for you to pick up.

Method 1: Change the Wrapping Style of One Picture Manually

  1. Firstly, right click on the picture and move cursor over “Wrap Text” option on the contextual menu.
  2. Next choose any style other than “In line with text”. Then you will be able to drag the picture to wherever you like.Click "Wrap Text"->Choose a wrapping style

Method 2: Alter the Default Style

As mentioned above, the default wrapping style is set in “In line with text”. However, you can modify the configuration before inserting pictures with the following steps.

  1. To start off, click “File” tab then the “Options” command to pen “Word Options” dialog box.
  2. Next click “Advanced” on the left column.
  3. Scroll don to the “Cut, copy and paste” part and find the “Insert/paste picture as” option.
  4. Click on the drop-down button to select a wrapping style.
  5. Last but not the least, click “OK” to save the new setting.Click "Advanced"->Click the drop down button->Choose a style->Click "OK"

All pictures inserted in the future will take floating wrapping style.

Method 3: Change the Wrapping Style of Multiple Pictures via VBA

  1. To begin with, press “Alt+ F11” to start the VBA editor.
  2. Next, go to “Normal” project by clicking on “Normal”.
  3. Then click “Insert” tab on the menu bar and choose “Module” on the drop-down menu.Click "Normal"->Click "Insert"->Click "Module"
  4. Now double click on the new module to bring out the coding space on the right side of editor.
  5. Paste the bellowing macro there:
Sub ChangeInLineWithTextPicToFloatingPic()
  Dim objDoc As Document
  Dim objInLineShape As InlineShape
  Dim objShape As Shape
 
  Set objDoc = ActiveDocument
 
  With objDoc
    For Each objInLineShape In .InlineShapes
      objInLineShape.ConvertToShape
    Next objInLineShape
 
    For Each objShape In .Shapes
      objShape.Select
      Selection.ShapeRange.WrapFormat.Type = wdWrapBehind
    Next objShape
  End With
End Sub
  1. Finally, click “Run” or hit “F5”.Paste codes->Click "Run"

Note:

This macro will change all inline pictures in the active document to floating ones and set them in “Behind Text” style. In case you need to format them in other style, just change the constant in code line “Selection.ShapeRange.WrapFormat.Type = wdWrapBehind”. For detailed enumeration, you can visit this link: https://docs.microsoft.com/en-us/office/vba/api/Word.WdWrapType

Backups Matter

As said that an ounce of prevention is worth a pound of cure. Though we can find ways to rescue files after Word corruption, it always seems too late. The most ideal is, of course, to make preventive measures, such as take backups. With them at hand, you will feel more comfortable to perform actions without worrying losing data.

Author Introduction:

Vera Chen is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including corrupt xls and pdf repair software products. For more information visit www.datanumen.com

Leave a Reply

Your email address will not be published. Required fields are marked *