Previous - xlsPrint Section Home - Microsoft Excel Next - Printing


xlsErr ( )

Retrieves a string message for detailed information on the last error

Usage:

xlsErr (object me )

Parameters:

None

Returns:

(string)
Detailed error description provided by the Excel application

Example:

xtRose = xtra("Rosetta").new( )
xtRose.xlsLaunch( )
if ( xtRose.xlsOpen( "C:\myCalculations.xls", EMPTY ) <= 0 ) then
  alert xtRose.xlsErr( )
end if

Notes:

The detailed error is provided by the Excel application, and provides insights into why the last operation failed. Please note that not all failures are the result problems with Excel. As an example, using an invalid path is caught by Rosetta's internal error checking.

See Also:

Error Codes


Previous - xlsPrint Section Home - Microsoft Excel Next - Printing