Knowledge base KB0194

Your Microsoft Graph component is corrupt


Most think-cell charts created with think-cell 8 and earlier are based on Microsoft Graph. A broken Graph installation may cause issues when think-cell tries to use Graph as usual. The cause is often an incomplete removal of previous Graph installations, possibly due to a problem in the Microsoft Office installer.

This issue is reproducible without think-cell:

  1. Open PowerPoint and insert a Microsoft Graph Chart: InsertTextObject
  2. Object type: select Microsoft Graph ChartOK
  3. Open the VBA editor with Alt+F11. Select your workbook and click on InsertModule. Then paste the changeSeriesName() macro, which tries to rename a series name, and run it by pressing F5:

    Sub changeSeriesName()
    Dim oshp As Shape
    Dim ograph As Object
    Dim inserted As Boolean
    inserted = False
    For Each oshp In ActivePresentation.Slides(1).Shapes
      If oshp.Type = msoEmbeddedOLEObject Then
        If oshp.OLEFormat.ProgID Like "MSGraph*" Then
          inserted = True
          Set ograph = oshp.OLEFormat.Object
            ograph.Application.DataSheet.Range("01").Value = "new Name"
          End If
      End If
    Next oshp
    If inserted = False Then
      MsgBox "No Microsoft Graph object found. Please insert a Microsoft Graph object and try again."
    End If
    End Sub

Result: You will receive the following messages and the series name cannot be changed:

Microsoft Graph missing libraries error message Microsoft Graph missing libraries error message


think-cell 9 charts are based on Microsoft PowerPoint Charts. Therefore, the problem disappears after updating to think-cell 9. Please download the current think-cell version from our download web page.

If it is not possible to update think-cell to version 9, follow these steps:

To fix the problem, manually delete the incorrect TypeLib remnants of previous Graph installations from the Windows registry.

Please contact your internal IT and ask them to perform the following steps. Manually modifying the registry may cause serious problems. Therefore, perform these steps at your own risk: We recommend to manually export the registry keys before modifying.

  1. Open the registry and navigate to HKEY_CLASSES_ROOT\TypeLib\{00020802-0000-0000-C000-000000000046}
  2. Delete the version keys (e.g., 1.x) for any version of Microsoft Graph that is NOT installed on your system:

    • 1.9 → Graph 2016
    • 1.8 → Graph 2013
    • 1.7 → Graph 2010
    • 1.6 → Graph 2007