Results 1 to 3 of 3

Thread: SpellChecking in a Textbox

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2000
    Posts
    66
    Does anyone know how to do a spell check on text that is typed into a textbox? I will be so happy/

  2. #2

  3. #3
    Guest
    Try the following:
    Code:
    Dim Doc As Object
    Set Doc = CreateObject("Word.Application")
    Doc.Visible = False
    Doc.Documents.Add
    Doc.Selection.Text = Text1.Text
    Doc.ActiveDocument.CheckSpelling
    Text1.Text = Doc.Selection.Text
    Doc.ActiveDocument.Close SaveChanges = wdDoNotSaveChanges
    Doc.Quit
    Set Doc = Nothing

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width