check spelling at your form text with the help of microsoft word.
check spelling at your form text with the help of microsoft word.
Rate check spelling at your form text with the help of microsoft word.
(2(2 Vote))
'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
check spelling at your form text with the help of microsoft word. Comments
No comments yet — be the first to post one!
Post a Comment