Total Visual SourceBook

Total Visual SourceBook CD and Printed Manual

Microsoft Access/ Office 2016, 2013, 2010, and 2007 Version
is Shipping!

New features in Total Visual SourceBook for Access, Office 2007 and VB6

Supports Access/Office 2016, 2013, 2010 and 2007, and Visual Basic 6.0!

Separate version for Access/Office 2003, 2002, and 2000.

Separate version for:
Access 97/95


View all FMS products for Microsoft AccessAll Our Microsoft Access Products

SourceBook Info:

Why SourceBook?

 

"The code is exactly how I would like to write code and the algorithms used are very efficient and well-documented."

Van T. Dinh, Microsoft MVP

 

 

 

Microsoft Access, Office/VBA, VB6 Modules royalty-free source code libraryMicrosoft Access Modules royalty-free source code libraryMicrosoft Access VBA and VB6 Module Library Free trial of Total Visual SourceBook for Microsoft Access, Office, VB6 and VBA

Module: AccessSpellChecker in Category Microsoft Access : Forms from Total Visual SourceBook

Launching the Microsoft Access spell checker on an Access form and its subforms using VBA.

Procedure List

Procedure Name

Type

Description

(Declarations) Declarations Declarations and private variables for the modAccessSpellChecker module
SpellCheckForm Procedure Spell check all the text boxes and subforms for the current record of a form
SpellCheckFormControl Procedure Spell check a control on a form
SpellCheckAllSubForms Procedure Spell check all the subforms for a form
SpellCheckSubForm Procedure Spell check the text fields of all the rows in a subform datasheet

Example Code for Using Module: AccessSpellChecker

' Example of modAccessSpellChecker
'
' To use this example:
' 1. Create a new user form.
' 2. Add a command button called cmdTest
' 3. Add a text box named txtTest
' 3. Add a subform control named subTest, and set the SourceObject to be any form in your database
' 4. Paste the entire contents of this module into the new form's module.

Private Sub cmdTest_Click()

  If MsgBox("Spell check text box?", vbYesNo) = vbYes Then
    SpellCheckFormControl Me.txtTest
  End If

  If MsgBox("Spell check form?", vbYesNo) = vbYes Then
    SpellCheckForm Me
  End If

  If MsgBox("Spell check subform?", vbYesNo) = vbYes Then
    SpellCheckSubForm subTest
  End If

  If MsgBox("Spell check all subforms?", vbYesNo) = vbYes Then
    SpellCheckAllSubForms Me
  End If

End Sub

Private Sub Form_Load()
  Me.txtTest = "thiss has pleanty of mispelings in ti."
End Sub

Microsoft Access Module LibraryOverview of Total Visual SourceBook

The source code in Total Visual SourceBook includes modules and classes for Microsoft Access, Visual Basic 6 (VB6), and Visual Basic for Applications (VBA) developers. Easily add this professionally written, tested, and documented royalty-free code into your applications to simplify your application development efforts.

Additional Resources