Home > Archive > PHP Pear > November 2006 > Re: [PEAR] query about an existing error in spreadsheet
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR] query about an existing error in spreadsheet
|
|
| David Sanders 2006-11-23, 3:58 am |
| 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
>
| |
| David Sanders 2006-11-23, 3:58 am |
| 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:
>
>
|
|
|
|
|