Results 1 to 4 of 4
  1. #1
    behnam is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2014
    Posts
    72

    Is There a way to add microsoft spellcheck on some text feilds for my form.

    Hi Guys,



    Im just wondering if there is a way to add microsoft spellcheck to some of the text fields in my form. A spell checker identical to the one avaiable on word will be good.

    Thanks for your time.

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    You can automate the Spelling tool found in the Quick Access Toolbar like this.
    Application.RunCommand acCmdSpelling

    I just ran a test on it and it seems to run through the entire recordset of the form. Not sure how you would restrict it to specific text.

  3. #3
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Replacing ControlToBeChecked with the actual name of your Control:
    Code:
    Private Sub ControlToBeChecked_Exit(Cancel As Integer)
    
    With Me!ControlToBeChecked
       
      If Len(.Value) > 0 Then
        DoCmd.SetWarnings False
        .SelStart = 1
        .SelLength = Len(.Value)
        DoCmd.RunCommand acCmdSpelling
         .SelLength = 0
        DoCmd.SetWarnings True
      End If
    
    End With
    
    End Sub

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    There you go. DoCmd

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 03-04-2014, 06:46 AM
  2. Sum of Two Feilds of Two Queries in Seperate Query
    By shekar_genius in forum Queries
    Replies: 3
    Last Post: 03-13-2013, 08:27 AM
  3. Replies: 12
    Last Post: 12-14-2012, 06:25 PM
  4. Replies: 6
    Last Post: 10-05-2012, 11:38 AM
  5. Replies: 15
    Last Post: 08-30-2012, 04:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums