Is there any way to download the worksheet using phpexcel?

Topics: Developer Forum, Project Management Forum, User Forum
Dec 6, 2012 at 7:03 AM

I'm try to figure out if there is a way to download a worksheet from a workbook. anyone please help?

Coordinator
Dec 6, 2012 at 7:27 AM

As far as I'm aware, Excel doesn't support worksheet files, only workbooks..... what do you expect to get? You can create a workbook with only a single worksheet, but it's still a workbook file. Other writers, such as HTML and PDF allow you to specify that you only want a single worksheet.

Dec 6, 2012 at 7:44 AM

I see then..phpExcel can load the worksheet names and display the content of the worksheet in the workbook but they cannot be downloaded right? Correct me if i'm wrong because i need to understand this.

Dec 6, 2012 at 1:54 PM

i cannot understand your question

What do you want to download?

a worksheet file is not existing in excel world..

If you want a workbook with just one worksheet from a bigger file, you can read the source workbook and create a new workbook with just one worksheet (and then download this WORKBOOK)

 

 

Dec 7, 2012 at 1:26 AM

okay,thanks a lot Massi for your explaination