Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Sub CopyFormat
'Usage
Dim instance As Selection
instance.CopyFormat()
void CopyFormat()
Remarks
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.