Copy link to clipboard
Copied
I've create a excel file with CFSpreadSheet and now I want to change the color of a cell to a hexcolor that is not available with CFSpreadSheet. Can it be done with javascript?
<cfset xl = spreadsheetNew("Hazard Details",true)>
<cfset SpreadsheetAddRow(xl,"Test")>
<cfset SpreadsheetFormatCell(xl,{color="red",bold="true"},#xl.rowcount#,1)>
Will set it to red. But I want to use a color that is not available with cfspreadsheet like hexcolor #355f91
something like:
<cfset SpreadsheetFormatCell(xl,{color="#355f91",bold="true"},#xl.rowcount#,1)>
Copy link to clipboard
Copied