View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
San San is offline
external usenet poster
 
Posts: 14
Default CUstom color is not showing

Hai all,

$excel_app = new COM("Excel.Application");
$excel_app-SheetsInNewWorkbook=2;
$workbook = $excel_app-Workbooks-add();
$workbook-Colors[15]=hexdec("ABCDEF");

Im trying to assing color like the above code.But the custom colors are not
appearing for the cells. Its automatically converted to the 1-56 color
indexed and no error is showing.
Thanks in advance
San.