Knowledge base KB0194

PowerPoint crashes when inserting a think-cell chart

Problem

Most think-cell charts are based on Microsoft Graph. A broken Graph installation may make PowerPoint crash 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. To find out if you are experiencing this problem, follow these steps:

  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

Solutions

  1. Please reinstall the Microsoft Graph component of your current Microsoft Office version.

    • Microsoft Office 2007, 2010, 2013, 2016:

      Reinstall Microsoft Graph as described in our knowledge base article KB0146: How to install or reinstall Microsoft Graph?

    • Microsoft Office 365 and Office 2016 Click-To-Run:

      When using Office 365, it is not possible to reinstall the Microsoft Graph component separately. To fix this problem, uninstall Microsoft Office completely and reinstall Microsoft Office afterwards again.

  2. If this does not help, 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
    3. Search the registry for registry keys matching {00020802-0000-0000-C000-000000000046} and check that any ..\TypeLib\{00020802-0000-0000-C000-000000000046} nodes only contain the version keys for versions of Graph that are installed on your system

Contact Support

If these solutions do not fix the problem contact our support team.