Re: query about an existing error in spreadsheet
| From: | David Sanders | Date: | Thu, 23 Nov 2006 07:57:12 +0000 |
| Subject: | Re: query about an existing error in spreadsheet | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25907@lists.php.net to get a copy of this message | ||
If you follow the examples in the documentation it should work fine.
Try saving and opening the output with a text editor. There could be some error messages printing out. This may be one reason why Excel would then deem the output as a bad file.
Do you log your errors instead of displaying them?
Nidhi Agarwal wrote:
Yes, I am using Spreadsheet_Excel_Writer. When I execute my script, then it looks like the spreadsheet is opening. But after few seconds, a dialog box opens written Incorrect Format.Incorrect File Format. If I click either OK or Cancel, the whole spreadsheet gets closed. On Thu, 2006-11-23 at 18:36 +1100, David Sanders wrote:Can you be a little more specific? Are you using Spreadsheet_Excel_Writer? What exactly does the error message say? Nidhi Agarwal wrote:Hi, I am using pear package in my application for making the spreadsheet, but continuously getting an error while execution, Incorrect Format. Incorrect File Format. Can you tell me why this is so? Is there any particular specification in using the pear package or anything else? Thanks & Regards, Nidhi Agarwal