Font.StrikeThrough property (Publisher)
Returns or sets an MsoTriState constant that represents the state of the StrikeThrough property on the characters in a text range. Read/write.
Syntax
expression.StrikeThrough
expression A variable that represents a Font object.
Return value
MsoTriState
Remarks
The StrikeThrough property value can be one of the following MsoTriState constants declared in the Microsoft Office type library.
Constant | Description |
---|---|
msoFalse | None of the characters in the range are formatted as strikethrough. |
msoTriStateMixed | A return value indicating that the range contains some text formatted as strikethrough and some text not formatted as strikethrough. |
msoTriStateToggle | A set value that switches between msoTrue and msoFalse. |
msoTrue | All characters in the range are formatted as strikethrough. |
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for