write your excel in HTML table format:
<html>
<body>
<table>
<tr>
<td style="background-color:#acc3ff">Cell1</td>
<td style="font-weight:bold">Cell2</td>
</tr>
</table>
</body>
</html>
and give your file an xls extension. Excel will convert it automatically
More Related Contents:
- How do I properly clean up Excel interop objects?
- How to convert a column number (e.g. 127) into an Excel column (e.g. AA)
- How to read data of an Excel file using C#?
- Reading Datetime value From Excel sheet
- A Simple C# DLL – how do I call it from Excel, Access, VBA, VB6?
- Fastest method to remove Empty rows and Columns From Excel Files using Interop
- Closing Excel Application Process in C# after Data Access
- unable to cast COM object of type ‘microsoft.Office.Interop.Excel.ApplicationClass’ to ‘microsoft.Office.Interop.Excel.Application'”
- How to read an excel file in C# without using Microsoft.Office.Interop.Excel libraries
- What is the algorithm to convert an Excel Column Letter into its Number?
- How to use use late binding to get excel instance?
- Cell color changing in Excel using C#
- Export DataTable to Excel File
- Fastest function to generate Excel column letters in C#
- Why does Microsoft.Office.Interop.Excel.Application.Quit() leave the background process running?
- The quest for the Excel custom function tooltip
- How do I import from Excel to a DataSet using Microsoft.Office.Interop.Excel?
- How to make correct date format when writing data to Excel
- C# – How to copy a single Excel worksheet from one workbook to another?
- Importing Excel into a DataTable Quickly
- Please explain why I am able to instantiate the “Application” interface in Excel VSTO
- How to save workbook without showing save dialog with Excel interop?
- Accessing Excel Custom Document Properties programmatically
- Set data type like number, text and date in excel column using Microsoft.Office.Interop.Excel in c#
- Query excel sheet in c#
- Optimal way to Read an Excel file (.xls/.xlsx)
- Open XML SDK 2.0 – how to update a cell in a spreadsheet?
- Get the Column Index of a Cell in Excel using OpenXML C#
- Running an Excel Macro via C#: Run a macro from one workbook on another?
- .Net Excel Interop Deleting a worksheet