VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



check spelling at your form text with the help of microsoft word.

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.

Rate 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

Download this snippet    Add to My Saved Code

check spelling at your form text with the help of microsoft word. Comments

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..

Post your comment

Subject:
Message:
0/1000 characters