Instantiating the PSSpreadsheet Class

You must use the CreateObject built-in function to instantiate an object of the PSSpreadsheet class:

Local object &ssObject;
&ssObject = CreateObject("PSSpreadsheet");