I'm getting below error while trying to generate a Excel report through Fox pro. I get below error at times while doing so.
Error executing program: Error 1429, Line 4 -- OLE IDispatch exception code 0 from Microsoft Office Excel: A workbook must contain at least one visible worksheet. To hide, delete, or move the selected sheet(s), you must first insert a new sheet or unhide a sheet that is already hidden...
My understanding is that the report doesn't has any data to show, and hence no worksheets are created.
Question: Can't foxpro create empty worksheet, if there is no data?
Error executing program: Error 1429, Line 4 -- OLE IDispatch exception code 0 from Microsoft Office Excel: A workbook must contain at least one visible worksheet. To hide, delete, or move the selected sheet(s), you must first insert a new sheet or unhide a sheet that is already hidden...
My understanding is that the report doesn't has any data to show, and hence no worksheets are created.
Question: Can't foxpro create empty worksheet, if there is no data?