+ Reply to Thread
Results 1 to 3 of 3

Spell Check Macro Issue - Runtime Error 13 when over 250 characters in cell.

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2010
    Posts
    7

    Spell Check Macro Issue - Runtime Error 13 when over 250 characters in cell.

    I'm relatively new to VBA, and I'm using a spell check macro to check spelling in each cell of a sheet. I've found that if there are over 250 characters in a cell, it causes the macro to crash and displays the Runtime error 13 message. I'm in the sign design and manufacturing business, and each cell contains the text on a component of a sign, so it can't be split into other cells. Here's my code:

    Please Login or Register  to view this content.
    Anybody know of a way to bypass this 250 character limit? I use Excel 2010.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Spell Check Macro Issue - Runtime Error 13 when over 250 characters in cell.

    Why not split the string in the code?

    This will check every word and if it finds a mistake format the cell and move on to the next cell.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    11-27-2013
    Location
    Rochester, NY
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Spell Check Macro Issue - Runtime Error 13 when over 250 characters in cell.

    Perfect! I had read about modifying the string, but didn't have an idea of how to apply it yet. Thank you so much Norie. Saved me quite the headache.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Changing Spell Check language of Vba Spell Checker
    By jhelliar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-09-2021, 03:51 AM
  2. runtime error 91 issue
    By penfold1992 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-08-2013, 11:25 AM
  3. Spell check macro
    By buckshot in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-18-2010, 10:43 AM
  4. Excel spell check issue or?
    By tusheva in forum Excel General
    Replies: 2
    Last Post: 06-05-2007, 09:58 AM
  5. Spell Check Macro Help
    By Kevin Ward in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-24-2006, 08:10 PM

Tags for this Thread

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