Share via

How can I find strikethrough text in PowerPoint?

Anonymous
2022-04-15T20:18:36+00:00

How can I find strikethrough text in PowerPoint? Some presentation reviewers will apply "strikethrough" to text they want deleted. This is too easy to miss, especially in some unfortunately text heavy presentations. Please tell me there is a way (and how) to find strikethrough text! Even if it is VBA! All I can find is support for Word and Excel.

Thank you,

--Whip

Microsoft 365 and Office | PowerPoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2022-04-19T05:34:54+00:00

    Hi

    Thanks for your quick response. And sorry for my misunderstanding.

    I'm reading your reply carefully and we tried many methods and search, we try to use Find&Replace function to achieve this, but we find it's not available for strikethrough text. Then we searched a lot and find a way how to show the strikethrough text in Excel by vba but not for powerpoint.

    Finally, we find a similiar thread about the underline and we change some property of the code and did a test and surprise to find it's available in powerpoint to find the strikethrough text by the following code:

    Sub Sample()

    **Dim sld As Slide**
    
    **Dim shp As Shape**
    
    **Dim x As Long**
    
    **For Each sld In Application.ActivePresentation.Slides**
    
        **For Each shp In sld.Shapes**
    
            **If shp.HasTextFrame Then**
    
                **If shp.TextFrame.HasText Then**
    
                    **For x = 1 To Len(shp.TextFrame2.TextRange.Text)**
    
                        **If shp.TextFrame2.TextRange.Characters(x, 1).Font.Strikethrough = True Then**
    
                            **With shp.TextFrame2.TextRange.Characters(x, 1)**
    
                                **.Font.Size = 32**
    
                            **End With**
    
                        **End If**
    
                    **Next**
    
                **End If**
    
            **End If**
    
        **Next**
    
    **Next**
    

    End Sub

    Open presentation>Developer(if you can't find the developer tab, go to File>Options>Customize Ribbon>check the developer option>Ok.)>Visual Basic>insert>Module>then paste the above code>Run>then you will find all the strikethrough text will highlight as 32 font(you also can change the Font size in code **** to 18 to make the strikethrough text show more smaller in your slide.

    Hope the suggestion can help you. if you need any further assistance, please feel free to post back.

    Best regards,

    Stacey

    3 people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Steve Rindsberg 99,161 Reputation points MVP Volunteer Moderator
    2022-04-19T18:11:24+00:00

    In case you'd rather see a kind of report of where the strikethrough text is found *without* changing its formatting, I've adapted Stacey's useful VBA a bit to get this:

    Sub ShowStrikeThrough() 
    
        Dim sld As Slide 
    
        Dim shp As Shape 
    
        Dim x As Long 
    
        Dim sTemp As String 
    
        For Each sld In Application.ActivePresentation.Slides 
    
            For Each shp In sld.Shapes 
    
                If shp.HasTextFrame Then 
    
                    If shp.TextFrame.HasText Then 
    
                        For x = 1 To shp.TextFrame2.TextRange.Runs.Count 
    
                            If shp.TextFrame2.TextRange.Runs(x).Font.Strikethrough = True Then 
    
                                sTemp = sTemp & "Slide: " & sld.SlideIndex _ 
    
                                    & " " & shp.TextFrame2.TextRange.Runs(x) _ 
    
                                    & vbCrLf 
    
                            End If 
    
                        Next 
    
                    End If 
    
                End If 
    
            Next 
    
        Next 
    
        If Len(sTemp) > 0 Then 
    
            MsgBox sTemp 
    
        Else 
    
            MsgBox "No strikethrough text found" 
    
        End If 
    
    End Sub
    
    1 person found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-04-20T04:40:57+00:00

    Hi

    We're happy to hear that the code can achieve your requirement and can solve your situation! So great!

    If you need any further assistance, please feel free to post back.

    Best regards,

    Stacey

    1 person found this answer helpful.
    0 comments No comments
  2. Steve Rindsberg 99,161 Reputation points MVP Volunteer Moderator
    2022-04-16T21:23:32+00:00

    To clarify this a bit, Stacey has explain how to apply strikethrough to text. I get the feeling, though, that you're looking for a way to find text that someone has ALREADY applied strikethrough to.

    Let us know if that's the case and we'll move ahead.

    0 comments No comments
  3. Anonymous
    2022-04-16T02:26:21+00:00

    Hi

    Thank you for posting the thread on our forum.

    Based on your description, may I know if you mean that you want to use the strikethrough text function in your PowerPoint? (If there have any misunderstanding, please feel free to post back)

    Generally, you can find the strikethrough text in Home tab as the screenshot below:

    If you can't find it in Home tab, go to File>Option>Quick Access Toolbar> select All commands from the drop-down menu>then find strikethrough>Add>OK>restart PowerPoint to see the result

    Hope the suggestion can help you. If my understanding is incorrect, please provide more detailed description or screenshot to us so that we can help you butter.

    Best regards,

    Stacey

    0 comments No comments