How to delete all strikethrough text in excel
Open Ms-Excel
Move the cursor to the sheet name "Sheet1" or whatever you have renamed your sheet and right click, then click on view code.
A new Visual Basic window will open.
In the left corner double click on "This workbook" and type or copy/paste the following codes in the blank space.
Sub DelStrikethroughText()
Dim xRg As Range, xCell As Range
Dim xStr As String
Dim I As Long
On Error Resume Next
Set xRg = Application.InputBox("Please select range:", "KuTools For Excel", Selection.Address, , , , , 8)
If xRg Is Nothing Then Exit Sub
Application.ScreenUpdating = Fase
For Each xCell In xRg
If IsNumeric(xCell.Value) And xCell.Font.Strikethrough Then
xCell.Value = ""
ElseIf Not IsNumeric(xCell.Value) Then
For I = 1 To Len(xCell)
With xCell.Characters(I, 1)
If Not .Font.Strikethrough Then
xStr = xStr & .Text
End If
End With
Next
xCell.Value = xStr
xStr = ""
End If
Next
Application.ScreenUpdating = True
End Sub
Now close the Visual Basic Window go back to Ms-Excel and select all the strikethrough cells and go to the developers option**** and click macro.
There you have to select the macro you created in VB and press Run. All the strike through will be removed.
****To display the DEVELOPER tab, click on the File menu and then select Options from the drop down menu. When the Excel Options window appears, click on the Customize Ribbon option on the left. Click on the Developer checkbox under the list of Main Tabs on the right. Then click on the OK button****
Move the cursor to the sheet name "Sheet1" or whatever you have renamed your sheet and right click, then click on view code.
A new Visual Basic window will open.
In the left corner double click on "This workbook" and type or copy/paste the following codes in the blank space.
Sub DelStrikethroughText()
Dim xRg As Range, xCell As Range
Dim xStr As String
Dim I As Long
On Error Resume Next
Set xRg = Application.InputBox("Please select range:", "KuTools For Excel", Selection.Address, , , , , 8)
If xRg Is Nothing Then Exit Sub
Application.ScreenUpdating = Fase
For Each xCell In xRg
If IsNumeric(xCell.Value) And xCell.Font.Strikethrough Then
xCell.Value = ""
ElseIf Not IsNumeric(xCell.Value) Then
For I = 1 To Len(xCell)
With xCell.Characters(I, 1)
If Not .Font.Strikethrough Then
xStr = xStr & .Text
End If
End With
Next
xCell.Value = xStr
xStr = ""
End If
Next
Application.ScreenUpdating = True
End Sub
Now close the Visual Basic Window go back to Ms-Excel and select all the strikethrough cells and go to the developers option**** and click macro.
There you have to select the macro you created in VB and press Run. All the strike through will be removed.
****To display the DEVELOPER tab, click on the File menu and then select Options from the drop down menu. When the Excel Options window appears, click on the Customize Ribbon option on the left. Click on the Developer checkbox under the list of Main Tabs on the right. Then click on the OK button****
Comments
kutools crack
kutools for excel crack
tweakbit pcsuite crack
jetaudio music player apk crack
eco falling ball crack
material batch uninstaller crack
Kutools for Excel Crack
EasyWorship Crack
ManicTime Pro Crack
Universal Document Converter Crack
Trojan Killer Crack
YTD Video Downloader Crack
Honeycam Crack
I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
Very interesting blog.
kutools-for-excel-crack
endnote-crack
aact-portable-3-9-9-keygen