PHP COM component Operations Excel issues
Hello everyone, I would like to ask, I have an Excel table, I want to set the border of the cell, found on the internet for a long time can not find.
Now you find the way to set the cell value:
$workbook = "D:\a.xls";
Start Excel
$ms _excel=new COM ("Excel.Application") or Die ("Cannot open Excel application");
Want to ask everyone if I want to put
A1 This cell is set to have a border how to operate, thank you ~
------Solution--------------------
1. If your Excel is fully installed, there is a complete help manual in the tools-macros-Microsoft Script Editor
But unfortunately, most of the current use of the simplified version of Excel, installation he needs to install the CD
2, since not be able to get help from Excel, then you can know the usage from Phpexcel. Phpexcel completely simulates the operation of VBA
So code written with Phpexcel can be used in COM applications
------Solution--------------------
It's a good solution with the Phpexcel class.
Http://www.cnblogs.com/icgg/articles/1647064.html
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service