Using the example from PeopleBooks returns an error on the ObjectGetProperty statement and I don't know what is wrong with it.
The code used is as follows:
Local object &WorkApp, &WorkBook;
&WorkApp = CreateObject ("COM", "Excel.Application");
&WorkBook = ObjectGetProperty(&WorkApp, "Workbooks");
etc
The message returned for the ObjectGetProperty statement says "Invalid parameter: CreateObject Excel.Application invalid class string for function ObjectGetProperty. The specified parameter is not correct for the function. It may be the wrong type of parameter (string, number, record, field etc) or an invalid value in this context.
Can anyone help?