cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

How to get the current worksheet error state?

pklemm-2
6-Contributor

How to get the current worksheet error state?

In an external automation application  for Mathcad Prime 3.1 I need the information about errors of a worksheet after the modification event was raised (SDK). How can I get this?

1 REPLY 1
MJG
18-Opal
18-Opal
(To:pklemm-2)

I've never used it, but Mathcad 15's API appears to provide the ability to access error messages.  I don't have Prime 3.1 installed on my current computer to check.

ErrorMsg Property

The ErrorMsg property gets the current calculation error message for the region.

Syntax

bstr = objMC.ErrorMsg

Where:

bstr = A string containing the current calculation error message for the specified region. If there is no error, an empty string is returned.

objMC = A Mathcad worksheet region.

Announcements

Top Tags