Knowledge base KB0196

Error message when starting PowerPoint or Excel, or editing a think-cell chart: "CFindCodePattern failed ..." or "CModuleFindChunk failed ..."

Problem

An error message mentioning "CFindCodePattern failed …" or "CModuleFindChunk failed …" pops up when opening PowerPoint or Excel, or inserting or editing a think-cell chart. This error typically appears after an update for Microsoft Office has been installed.

Solution

Download and install the latest think-cell version from our download web page.

If you have joined the Office Insider Beta program, you might have an Office update installed with which think-cell is not yet compatible. To work around this, you can choose to opt out of the Beta program.

Contact support

In case you are still experiencing this issue after updating to the newest think-cell version, please contact our support team:

Please send us the think-cell log files. For this, open PowerPoint or Excel and go to Insert > think-cell > Tools Tools Menu icon. > Request Support. The log files will be automatically attached to a new email.

If neither works, you can find the log files as explained below:

  1. Open a new Windows Explorer window.

  2. Type in %LOCALAPPDATA%\think-cell into the address field, and press Enter

  3. Please send all files with the extension .log contained in this folder to our support team. These files may include any of the following: POWERPNT_log.log, EXCEL_log.log, TCMAIL_log.log, TCUPDATE_log.log, TCRUNXL_log.log, TCASR_log.log, PPTTC_log.log, setup_think-cell_xxxxx_log.log.

  4. If you want to browse to the directory:

    The full default filepath is C:\Users\USERNAME\AppData\Local\think-cell. Replace USERNAME with your username.

    If you cannot find this folder, it is probably set to invisible. You can change that in Windows Explorer by checking:

    • Windows 7:
      OrganizeFolder and search optionsViewShow hidden files and folders.
    • Windows 8, Windows 8.1 and Windows 10:
      ViewShow/hideHidden Items.

    In addition, if think-cell is active, please click on Tools Tools Menu icon. About in the think-cell toolbar and send us a screenshot of the think-cell info window.

Technical background

Microsoft releases frequent updates for Microsoft 365 with which older versions of think-cell may not be compatible. For details, please see KB0165: Does think-cell work with Microsoft 365 (Office 365) and Office 2016/2019 Click-to-Run?

Share