I read the question from thread707-1087775 and cannot get the suggestions to work. Here is the code that I have been trying to use (I have coppied an excel cell value to a form and want to spell check it):
Code:
Private Sub CommandButton2_Click()
'Check HoY Spelling
frmEditValues.tbxCellValue.SetFocus
If (Application.CheckSpelling(frmEditValues.tbxCellValue.Text) = True) Then
MsgBox ("spelling OK")
cmdSpellXtra.BackColor = &HFF00&
Else
'NOT OK - Copy text data to hidden XLA 'SpellCheck' worksheet
Sheets("2007").Select
Range("F7").Select
Selection.Copy
Sheets("SpellCheckSheet").Select
Range("A1").Select
ActiveSheet.Paste
Range("E15").Select
Worksheets("SpellCheckSheet").CheckSpelling AlwaysSuggest:=True
cmdSpellXtra.BackColor = &HFF&
strSpellCheckXtra = tbxCellValue.Text
Application.Worksheets("SpellCheck").Cells(1, 1).Value = strSpellCheckXtra
'Now Check spelling
Worksheets("SpellCheck").CheckSpelling AlwaysSuggest:=True
tbxCellValue.Text = ThisWorkbook.Worksheets("SpellCheck").Cells(1, 1).Text
End If
End Sub