Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Selection.CopyFormat method

Copies the character formatting of the first character in the selected text.

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

void CopyFormat()

If a paragraph mark is selected, Microsoft Word copies paragraph formatting in addition to character formatting.

You can apply the copied formatting to another selection by using the PasteFormat method.

Show:
© 2015 Microsoft