12-Amethyst
November 29, 2022
Solved
Prime 8: Cant use API with Excel
- November 29, 2022
- 3 replies
- 2931 views
Hi,
I was doing some calculations using Prime 7 and Excel through macros. Basically, the program passes some values from Excel to Mathcad to calculate and the results are printed back to Excel. It worked fine.
I recently formatted my laptop and installed Prime 8. I am waiting for the license so, in the meantime, I am using the 30-days trial with full functionality.
I tried to use the same Prime-Excel program but it shows the following error when I run the macro: "User-defined type not defined". I have the Ptc.MathcadPrime.Automation.tlb file to VBA, as shown in the attached image.
Is there something I am missing? Maybe this functionality is restricted to users with license?
Thanks!

