Skip to main content
1-Visitor
October 9, 2018
Solved

Error 430 when integrating VBA/Excel with Prime - "Class does not support Automation"

  • October 9, 2018
  • 4 replies
  • 2959 views

I'm using Excel and Mathcad files that were perfectly functional on another machine. When I try to run them on my current laptop, I get "Run-time error '430': Class does not support Automation or does not support expected interface"

 

The problematic code is:


Dim Mathcad As Ptc_MathcadPrime_Automation.Application
Set Mathcad = New Ptc_MathcadPrime_Automation.Application

 

I'm using Mathcad Prime 4.0, Excel 365, and Windows 7. Has anyone run into this error before?

Best answer by LucMeekes
Were those files functional on the other machine with Prime 4 and Office 365. Or with other versions of either application?

Luc

4 replies

LucMeekes23-Emerald IVAnswer
23-Emerald IV
October 9, 2018
Were those files functional on the other machine with Prime 4 and Office 365. Or with other versions of either application?

Luc
jds1021-VisitorAuthor
1-Visitor
October 9, 2018

I'm 99% sure that's the case. The only difference is the other machine was running Windows 10.

23-Emerald IV
October 9, 2018

That leaves 1 % of uncertainty.

So... you've moved your Prime license, or is this a new installation... or did you install Prime Express (no license required, but limited functionality) on the present laptop?

Do you still have access to the other machine (and in the configuration that 'worked')?

 

Luc