I got this by working off of the example, but it looks like this should work, this adds a sheet to the workbook. First get the handle to the sheets object from the application handle, then use the sheets handle to add another sheet to the workbook. It can get a little confusing sometimes since you have to get the right type of handle for the appropriate function.
error = Excel_GetProperty (ExcelAppHandle, NULL, Excel_AppSheets, CAVT_OBJHANDLE,
&ExcelSheetsHandle);
if (error<0)
goto Error;
error = Excel_SheetsAdd (ExcelSheetsHandle, NULL, CA_DEFAULT_VAL,CA_DEFAULT_VAL, CA_DEFAULT_VAL, CA_DEFAULT_VAL, &newSheetHandle);
Hope this helps
Bilal
Bilal Durrani
NI