IF lp_savexls THEN h-ws:saveAs(REPLACE(cp_file,'csv','xls'),-4143,,,,,,). /* -4143 = xlWorkbookNormal */
NO-RETURN-VALUE h-xl:VISIBLE = NO.
Can you create COM handles from a P4GL character client? I was assuming he was looking for one of those utilities (which are a dime a dozen in the Java/C# world) that let you create .XLS's without having access to the Excel runtime.