Range.PasteSpecial procedure builder

Range.PasteSpecial (Word)

Inserts the contents of the Clipboard.

PasteSpecial (IconIndex, Link, Placement, DisplayAsIcon, DataType, IconFileName, IconLabel)

Selection.Collapse Direction:=wdCollapseStart 
Selection.Range.PasteSpecial DataType:=wdPasteText

Arguments

Optional arguments

The following arguments are optional

IconIndex (Byte) - If DisplayAsIcon is True, this argument is a number that corresponds to the icon you want to use in the program file specified by IconFilename. Icons appear in the Change Icon dialog box: 0 (zero) corresponds to the first icon, 1 corresponds to the second icon, and so on. If this argument is omitted, the first (default) icon is used.

Link - True to create a link to the source file of the Clipboard contents. The default value is False

Placement - Can be either of the following WdOLEPlacement constants: wdFloatOverText or wdInLine. The default value is wdInLine

DisplayAsIcon - True to display the link as an icon. The default value is False

DataType - A format for the Clipboard contents when they're inserted into the document. Can be any WdPasteDataType constant

IconFileName - If DisplayAsIcon is True, this argument is the path and file name for the file in which the icon to be displayed is stored

IconLabel - If DisplayAsIcon is True, this argument is the text that appears below the icon