Forgot password?

Create an account!

Forum

« back

RhinoScript – Run-time error 8000fff on VBA CreateObject

Messages

Please log in to write a message.

  • 1. linux.matthew (Feb 02, 2017 17.13):

    As a follow-up to a previous post about my VBA/Rhinoscript, I'm running to a really weird "catastrophic" error when I execute the following VBA code from an Excel spreadsheet originally created in Excel 2007 that I'm now trying to run in Excel 2016:

    Set Rhino = CreateObject("Rhino4.Interface")
    If (Err.Number <> 0) Then
        'MsgBox ("Failed to create Rhino4 object")
        Set Rhino = CreateObject("Rhino4.Application")
        If (Err.Number <> 0) Then
            MsgBox "Failed to create Rhino4 object: " & Err.Number
            Exit Sub
        End If
    End If

    The CreateObject failing with a Run-time error 8000fff Automation error, Catastrophic failure. Checking around, people have made vague mentions of about migrating between Excel versions being a problem and to look under Tools->References, but I'm not sure exactly what I should be looking for. Does anyone know?

    Thanks,

    Matt

Recommend

Why are these buttons gray?