WD2000: Cannot Paste "In Line with Text" Using Paste Special As Picture or Document Object (209802)



The information in this article applies to:

  • Microsoft Word 2000

This article was previously published under Q209802

SYMPTOMS

When you paste text into a Word document using Paste Special (on the Edit menu, click Paste Special) as a Picture or a Microsoft Word Document Object, the text is pasted with the Top and bottom wrapping style.

NOTE: In Word 97 for Windows, when you paste as a Picture or Word Document Object, you can turn off the Float over text option and paste the picture or object in line with your text.

CAUSE

The removal of the Float over text check box from the Paste Special dialog box is by design in Microsoft Word 2000.

WORKAROUND

To work around this problem, use one of the following methods.

Method 1: Change the Wrapping Style

After you have pasted as a Picture or a Microsoft Word Document Object, change the wrapping style to In line with text using the following steps:
  1. Select the object you pasted.
  2. On the Format menu, click Object.
  3. On the Layout tab, under Wrapping style, select In line with text.

    NOTE: If you click the Advanced button before you click In line with text, Top and bottom (on the Text Wrapping tab) is automatically selected when you paste your object.
  4. Click OK.

Method 2: Use a Macro

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

Use one of the following macro examples.

Macro 1

NOTE: Before running the following macro example, copy or cut the picture or object that you want to the Windows Clipboard.
   Sub PasteInline()

      ' Paste the contents of the Windows Clipboard as inline with text.
Dim myrange As Range

Set myrange = Selection.Range

With Selection
    .PasteSpecial Link:=False, DataType:=wdPasteEnhancedMetafile, DisplayAsIcon:=False
    .ShapeRange.ConvertToInlineShape
End With

Selection.MoveRight Unit:=wdCharacter, Count:=1, Extend:=wdExtend
Selection.Cut
myrange.Select
Selection.Paste

End Sub
				
-or-

Macro 2

Refer to the macros in the following Knowledge Base article:

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


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