WD2000: Cannot Insert Picture (Object) As "Float Over Text" (209944)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q209944

SYMPTOMS

When you insert a picture from file or an object into a Word document, there is no option for inserting the picture or object as Float over text.

NOTE: To insert a picture from file, on the Insert menu, click Picture and then click From File.

WORKAROUND

When you insert a picture from file or an object, Word (by default) places the picture or object inline with the text of your document. Unlike earlier versions of Word, there is no option for inserting your picture or object as Float over text.

To change your picture or object to floating (text wrapping), use one of the following methods to insert your picture from a file or object as float over text:

Method 1: Set a Text Wrapping Style for Your Picture or Object

  1. Use the Picture From File or Object command to insert your picture or object.
  2. Click the picture (object). When the picture (object) is selected, it has a box with squares around it.
  3. On the Format menu, click Picture (or Object).
  4. On the Layout tab, click the type of wrapping you want, and then click OK.

Method 2: Use a Macro to Insert Your Picture As "Float Over Text"

The following macro code inserts your picture with a wrapping style of Top and bottom, as in earlier versions of Word.

Sub InsertPicture()
   With Dialogs (wdDialogInsertPicture)
      .FloatOverText = True
      .Show
   End With
End Sub
				

NOTE: This macro causes Word to always insert your picture from file as Float over text, even if you remove (delete) the macro. To restore Word back to inserting your picture from file as In-line with text, replace your InsertPicture macro with the following:
Sub InsertPicture()
   With Dialogs (wdDialogInsertPicture)
      .FloatOverText = False
      .Show
   End With
End Sub
				

Method 3: Use a Macro to Insert Your Object As "Float Over Text"

The following macro code inserts your object with a wrapping style of Top and bottom, as in earlier versions of Word.

Sub InsertObject()
   With Dialogs (wdDialogInsertObject)
      .Floating = True
      .Update
      .Show
   End With
End Sub
				

NOTE: The use of this macro causes Word to always insert your objects as Float over text, even if you remove (delete) the macro. To restore Word back to inserting your objects as In-line with text, replace your InsertObject macro with the following:

Sub InsertObject()
   With Dialogs (wdDialogInsertObject)
      .Floating = False
      .Update
      .Show
   End With
End Sub
				

MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
For more information about how to use the sample code in this article, click the article number below to view the article in the Microsoft Knowledge Base:

212536 OFF2000: How to Run Sample Code from Knowledge Base Articles

NOTE: Method 1 and Method 2 do not work if you insert clip art (on the Insert menu, point to Picture and click Clip Art). To insert clip art as floating, use Method 2 and point to the folder that contains the clip art. To do this, follow these steps:
  1. Create the macro listed in Method 2 of this article.
  2. On the Insert menu, point to Picture and click From File.
  3. In the Insert Picture dialog box, change the Look in box to the folder that contains the clip art.

    By default, the clip art installed is located in the following folder:

    C:\Program Files\Common Files\Microsoft Shared\Clipart\Cagcat50\


Modification Type:MajorLast Reviewed:6/17/2005
Keywords:kbnofix kbprb KB209944