Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6743041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:54:52+00:00 2026-05-26T11:54:52+00:00

Recently I found out that if you save some html markup as an xls

  • 0

Recently I found out that if you save some html markup as an xls it will open up in Excel just fine with all your styling. Example

myfile.xls

<table>
        <tr>
            <td style="background: red;text-align:center;border:1px solid;"><h1>Blah</h1></td>
            <td style="background: red;text-align:left;font-weight:bold;">Blah</td>
        </tr>
        <tr>
            <td>3221312dsdasd</td>
            <td>hahah2123dedaah</td>
        </tr>
        <tr>
            <td>123456</td>
            <td>hahah2123dedaah</td>
        </tr>
</table>

I was wondering if there is any kind of documentation on this about what html and CSS Excel supports and what it doesn’t? I tried using Google and really couldn’t find much. I was mostly interested in creating multiple worksheets.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:54:53+00:00Added an answer on May 26, 2026 at 11:54 am

    For some in-depth information regarding the HTML approach to creating Excel files with sample code see http://www.c-sharpcorner.com/UploadFile/kaushikborah28/79Nick08302007171404PM/79Nick.aspx

    Also checkout the official documentation at http://msdn.microsoft.com/en-us/library/Aa155477%28office.10%29.aspx

    Other options to create Excel files:

    MS provides the OpenXML SDK V 2.0 – see http://msdn.microsoft.com/en-us/library/bb448854%28office.14%29.aspx

    This can read+write MS Office files (including Excel).

    Another option see http://www.codeproject.com/KB/office/OpenXML.aspx

    IF you need more like rendering, formulas etc. then there are different free and commercial libraries like ClosedXML, EPPlus, Aspose.Cells, SpreadsheetGear, LibXL and Flexcel etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just found out recently that you can configure Visual Studio (but this question
I recently found out that Mac leaves all the core file in /cores directory.
I have recently found out that there exists a method called nth_element in the
Recently I found out that there are several things that one can do to
I found out recently that JList (finally!) was generified in JDK7. Why JTree and
I recently asked a question about IIf vs. If and found out that there
I recently found out about livecoding where someone will program something on the fly
I recently found out that you can fake directory structure on S3 by putting
I've been using eval in my code and I recently found out that there
First sorry for the english. I've recently found out that the MessageBox from Windows.Forms

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.