View.ShowHighlight property (Word)
True if highlight formatting is displayed and printed with a document. Read/write Boolean.
Syntax
expression. ShowHighlight
expression An expression that returns a 'View' object.
Example
This example toggles the display of highlighting in the active document.
ActiveDocument.ActiveWindow.View.ShowHighlight = _
Not ActiveDocument.ActiveWindow.View.ShowHighlight
This example prints the active document without highlight formatting.
With ActiveDocument
.ActiveWindow.View.ShowHighlight = False
.PrintOut
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro