Skip to main content

Font.Strikethrough property

Table of contents
  1. Syntax
  2. Example

True if the font is struck through with a horizontal line. Read/write Boolean.

Syntax

expression.Strikethrough

expression A variable that represents a Font object.

Example

This example sets the font in the active cell on Sheet1 to strikethrough.

Worksheets("Sheet1").Activate 
ActiveCell.Font.Strikethrough = True

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>