Tema: Re: Excel 2003 ir Excel 2007 spalvu paletes (html)
Autorius: Jornada Del Muerto
Data: 2010-11-24 11:45:28
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1257" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975">
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=2 face=Arial> Kiek pagooglines
suzinojau: </FONT><A href="http://www.cpearson.com/excel/colors.aspx"><FONT
size=2 face=Arial>http://www.cpearson.com/excel/colors.aspx</FONT></A><FONT
size=2 face=Arial> </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=1 face=Arial> The Color palette</FONT></DIV>
<DIV><FONT size=1 face=Arial></FONT> </DIV>
<DIV><FONT size=1 face=Arial> Excel supports colors for fonts
and background fills through what is called the Color palette. The palette is an
array or series of 56 RGB colors. The value of each of those 56 colors may be
any of the 16 million available colors, but the palette, and thus the number of
distinct colors in a workbook, is limited to 56 colors. The RGB values in the
palette are accessed by the ColorIndex property of a Font object (for the font
color) or the Interior object (for the background color). The ColorIndex is an
offset or index into the palette and thus has a value betweeen 1 and 56. In the
default, unmodified palette, the 3rd element in the palette is the RGB value 255
(&HFF), which is red</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Zodziu kaip sakant excel naudoja
indexed colors 56 spalvu RGB paletes, o palete galima paciam
definint:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=1 face=Arial> You change the values in the
default palette by modifying the Colors array of the Workbook object. For
example, to change the color referenced by ColorIndex value 3 to blue, use
</FONT></DIV>
<DIV><FONT size=1 face=Arial></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2> <STRONG>
Workbooks("SomeBook.xls").Colors(3) = RGB(0,0,255)</STRONG></FONT></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> Cia kiek suprantu color index
spalvos nustatymas, jei skirtingose vietose skiriasi ir nori suvienodint tai
gali vieno excelio palete tokiu pat budu paimti kaip ir priskiri ir
inicializuoti ja kitam.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>P.S. 1st answer on google, by search text:
<STRONG>VBA rgb color</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Arial>JDM </DIV>
<DIV><BR><BR></DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>"b2b" <</FONT><A
href="mailto:b2b@gmail.com"><FONT size=2
face=Arial>b2b@gmail.com</FONT></A><FONT size=2 face=Arial>> wrote in message
</FONT><A href="news:icice6$47h$1@trimpas.omnitel.net"><FONT size=2
face=Arial>news:icice6$47h$1@trimpas.omnitel.net</FONT></A><FONT size=2
face=Arial>...</FONT></DIV><FONT size=2 face=Arial>> Sveiki,<BR>> <BR>>
exceliuos 2003 ir 2007 skiriasi spalvu paletes. Rasant macrosa 2007 excelyje
<BR>> nurodau iprastini spalvos indexa/koda (2, 3, 4 6 arba 47), o man
nuspalvina <BR>> arba kazkiek tamsiau arba sviesiau. Gal zinot kokie yra
spalvu kodu <BR>> atitikmenys 2007 excelyje ? <BR>></FONT></BODY></HTML>