Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worksheet::removeColumn() not handling the last row of the worksheet? #15

Open
GoogleCodeExporter opened this issue Apr 24, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
I have a script that's sole purpose is to remove a few columns from a
spreadsheet that is passed to it.  The total work w/ PHPExcel is:

$xl = PHPExcel_IOFactory::load($filename);
$ws = $xl->getSheet();
$ws->removeColumn('C', 7);
$writer = PHPExcel_IOFactory::createWriter($xl, 'Excel5');
$writer->save($outputfile);

After running the xls through the script, the final row still has the
columns that should be removed and I have to remove the data from those
cells manually.

What is the expected output? What do you see instead?
I would expect that the columns removed would be removed throughout the
entire worksheet.

What version of the product are you using? On what operating system?
PHP 5.2.9
Initially used PHPExcel 1.1
Most recent test using PHPExcel svn pull on 1/21/2010


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 22 Jan 2010 at 4:28

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant