The most intuitive way to generate an Excel report

Source: Internet
Author: User
Compiling XLS files with HTML syntax is especially simple and quick. It also has basic font settings, cell merging, and other functions. It is a good way to compile reports with a style that is not very complex.
For example, the following text:
<Table> <tr> <TD> data </TD> </tr> </table>
In Excel, normal rendering is easier than using COM components. For normal reports, you do not need to use com or vsto to kill chickens.
Note that I do not know how to specify the Data Type of the cells in the report written in this way. That is to say, if a long string of numbers is to be displayed as strings, we recommend that you add & nbsp; to the front or end of a number. If you want to display a series of numbers in decimal form (that is, keep the end Of the number. 00, Excel removes the 0 at the end of the decimal point by default. Simply adding & nbsp; to it will make this cell unable to participate in the calculation in Excel, you can format the value into a 102,222.00-bit separator. This not only keeps the 0 at the end, but also applies it in Excel.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.