+ Reply to Thread
Results 1 to 5 of 5

Automatic Spell Check??

  1. #1
    Registered User
    Join Date
    02-09-2013
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    5

    Automatic Spell Check??

    I want to run a spell check on the contents entered by a user into a field on an active Form. This can be either automatic as user types or manually activated via a button on the Form itself. Can this be done and if so, what code would allow this to take place. Would this just be easier to create a button_click macro for each page? I am fairly new to VBA and still working on understanding each process. Thank you in advance for the direction.

  2. #2
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Automatic Spell Check??

    Hi -
    Please Login or Register  to view this content.
    from http://www.ozgrid.com/forum/showthread.php?t=23307

    event

  3. #3
    Registered User
    Join Date
    02-09-2013
    Location
    Raleigh, NC
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Automatic Spell Check??

    I get a Compile error- (User defined type not defined) on the this text string- Ideas?
    I am new enough to VBA that I do not understand even the definition of this statement completely.

    Private Sub TextBox1_KeyDown(ByVal KeyCode As MSForms.ReturnInteger, ByVal Shift As Integer)

  4. #4
    Valued Forum Contributor
    Join Date
    11-15-2008
    Location
    ph
    MS-Off Ver
    2007/2010/2016
    Posts
    479

    Re: Automatic Spell Check??

    Hi -

    Please Login or Register  to view this content.
    TextBox1 in bold should be the name of your textbox control

    event

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Automatic Spell Check??

    Hi pcm034

    This error
    User defined type not defined
    typically indicates a missing Reference. If that's the case perhaps event21 can identify that Reference for you and demonstrate to you how to create the Reference.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1