Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
CUstom color is not showing
Your code appears to be changing the definition of the 15th color in the
color pallet of 56 colors. If you have any cells that have their interior.colorindex property set to 15, then they should take on the appearance of your new color. -- Regards, Tom Ogilvy "San" wrote: 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Powerpoint / Excel: custom pp RGB color doesn't match identical Excelcustom RGB color | Charts and Charting in Excel | |||
Custom properties not showing the value when set programmatically | Excel Programming | |||
Showing custom toolbars on one W/S only | Excel Discussion (Misc queries) | |||
Showing criteria in custom filter | Excel Programming | |||
Color Formatted Cells not showing color | Excel Worksheet Functions |