Got it convert rgb to long then,

<SCRIPT LANGUAGE="Javascript">
        <!--
                function whalla(){
                        R = 253;
                        B = 3;
                        G = 3;
                        
                        var lng = B * 65536 + G * 256 + R
                        alert(lng);
                }
        //-->
</SCRIPT>

cell_elemnt.Color = val(197629);

-----Original Message-----
From: Neil Clark - =TMM= [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 12:46 PM
To: CF-Talk
Subject: RE: COM question


http://msdn.microsoft.com







Neil Clark
Team Macromedia
http://www.macromedia.com/go/team

Announcing Macromedia MX!! 
http://www.macromedia.com/software/trial/




-----Original Message-----
From: John McCosker [mailto:[EMAIL PROTECTED]] 
Sent: 11 July 2002 12:21
To: CF-Talk
Subject: COM question

Hi,

does anyone know where I can get a colorindex LIST for Excel for
creating
through COM,
strings and Hx-Decimals don't work,

e.g.

cell_elemnt = objRange.Interior;
cell_elemnt.Color = "red";
---error----
Unable to set the Color property of the Interior class

but

cell_elemnt.Color = 10;

works fine,

Had a look at OLEView but only lists properties methods etc... apart
from it
being a labyrinth of
hard to find information anyway...

mmmm...

also looking through CFCOMET currently for answer on this,

respectfully,

j


______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to