Does anyone know how to stop the spellchecker after it has checked specific cells? I have two cells, G3, G6. I would like to check only these areas and close the spellchecker. This is my code presently:
Private Sub CommandButton2_Click()
ActiveSheet.Unprotect Password:="PW"
ActiveSheet.Cells(3, 7).Cells(6, 7).CheckSpelling
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, Password:="PW"
End Sub
Thanks in advance, Brian.
Private Sub CommandButton2_Click()
ActiveSheet.Unprotect Password:="PW"
ActiveSheet.Cells(3, 7).Cells(6, 7).CheckSpelling
ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, Password:="PW"
End Sub
Thanks in advance, Brian.