Вы находитесь на странице: 1из 1

Hold down the ALT + F11 keys to open the Microsoft Visual Basic for Applications


2. Click Insert > Module, and paste the following code in the Module Window.

Function HasStrike(Rng As Range) As Boolean

HasStrike = Rng.Font.Strikethrough
End Function

3. Then save and close this the window, in a blank cell beside your data, please
enter this formula =HasStrike(A2), in this case, I will enter it to cell C2. See