Selection.PasteFormat Method

Applies formatting copied with the CopyFormat method to the selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub PasteFormat
'Usage
Dim instance As Selection

instance.PasteFormat()
void PasteFormat()

Remarks

If a paragraph mark was selected when the CopyFormat method was used, Microsoft Word applies paragraph formatting in addition to character formatting.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace