by chopin (2 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 11th June 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
check spelling at your form text with the help of microsoft word.
'Add 2 cmd buttons and one text control
'----------------------------------------------'
Private Sub Cmdcheckspelling_Click()
Dim selword As Object
Set selword = CreateObject("word.application")
selword.Visible = False
selword.Documents.Add
selword.Selection.Text = Text1.Text
selword.ActiveDocument.CheckSpelling
Text1.Text = selword.Selection.Text
selword.ActiveDocument.Close savechanges:=wdDoNotSaveChanges
selword.Quit
Set selword = Nothing
End Sub
Private Sub CmdQuit_Click()
Unload Me
End
End Sub
No comments have been posted about check spelling at your form text with the help of microsoft word.. Why not be the first to post a comment about check spelling at your form text with the help of microsoft word..