LastMitch
Industrious Poster
4,177 posts since Mar 2012
Reputation Points: 132
Solved Threads: 335
Skill Endorsements: 45
Thanks LastMitch. This just mentions how to apply borders to a range though. I want to apply it to every cell in the worksheet.
You never mention that you want to apply borders on all worksheets. You just want to apply a sheet.
I don't think you can used the array to do that.
I think you have to create __construct function.
Read this link, it has a function that you call and apply to all sheets:
http://www.phpkode.com/source/p/phpexcel/Classes/PHPExcel/Style/Borders.php
LastMitch
Industrious Poster
4,177 posts since Mar 2012
Reputation Points: 132
Solved Threads: 335
Skill Endorsements: 45