I created a simple code to highlight spelling errors in certain columns, but it causes excel to stop responding every time I run it. While the code itself works fine, it is a hindrance to have to wait for two minutes before it starts running again.
Is there any way I could fix this?
Option Explicit
Sub Check_Cell()
Dim wd As Range
Dim chkCell As Range
Set chkCell = ActiveSheet.Range("F:H:I:J")
For Each wd In chkCell
If Not Application.CheckSpelling(word:=wd.Text) Then
wd.Interior.Color = vbGreen
End If
Next wd
End Sub