CSS File Embedded on an Excel Spreadsheet
Posted on 2006-06-08
ColdFusion - Excel - CSS
I have created a report using an Excel spreadsheet, converted it into a ColdFusion Template and populated it. The problem is the cell formatting (colors, font,etc) is all done in a CSS file. Is there any way to export such that the CSS is embedded (or something) so I don't lose the coloring or I don't have to go and apply the colors directly to each cell?
I am using the following link on my head tags:
<link rel="stylesheet" type="text/css" href="excel.css">
<cfheader name="content-disposition" value="attachment; filename=test.xls">