Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
mycolor = ActiveCell.Offset(0, 1).Interior.Color
ActiveCell.Value = mycolor The above code gives me the integer color values (which I don't understand) for the cell to the right of the active cell and the following code gives me the color palette numbers: mycolor = ActiveCell.Offset(0, 1).Interior.ColorIndex ActiveCell.Value = mycolor How can I get the RGB color values Any info gratefully appreciated Philip |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Philip,
See www.cpearson.com/excel/colors.htm for VBA code to break the Long color value in to its red, green, and blue components. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Philip Reece-Heal" wrote in message . .. mycolor = ActiveCell.Offset(0, 1).Interior.Color ActiveCell.Value = mycolor The above code gives me the integer color values (which I don't understand) for the cell to the right of the active cell and the following code gives me the color palette numbers: mycolor = ActiveCell.Offset(0, 1).Interior.ColorIndex ActiveCell.Value = mycolor How can I get the RGB color values Any info gratefully appreciated Philip |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Many thanks Chip Plenty of stuff to get me to where I was wanting to go and some way further All the best Philip *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Phillip,
Just about everything you wanted to know about colors: http://www.mvps.org/dmcritchie/excel/colors.htm John Philip Reece-Heal wrote: mycolor = ActiveCell.Offset(0, 1).Interior.Color ActiveCell.Value = mycolor The above code gives me the integer color values (which I don't understand) for the cell to the right of the active cell and the following code gives me the color palette numbers: mycolor = ActiveCell.Offset(0, 1).Interior.ColorIndex ActiveCell.Value = mycolor How can I get the RGB color values Any info gratefully appreciated Philip |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Phillip,
Well, almost everything. Forgot to mention Chip's site too John John Wilson wrote: Phillip, Just about everything you wanted to know about colors: http://www.mvps.org/dmcritchie/excel/colors.htm John Philip Reece-Heal wrote: mycolor = ActiveCell.Offset(0, 1).Interior.Color ActiveCell.Value = mycolor The above code gives me the integer color values (which I don't understand) for the cell to the right of the active cell and the following code gives me the color palette numbers: mycolor = ActiveCell.Offset(0, 1).Interior.ColorIndex ActiveCell.Value = mycolor How can I get the RGB color values Any info gratefully appreciated Philip |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Many thanks John Plenty of stuff to get me to where I was wanting to go All the best Philip *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sum up values only in cells that are color filled? | Excel Worksheet Functions | |||
Find Values in Range Then Color | Excel Discussion (Misc queries) | |||
Sum function when the values in an xls are color coded | Excel Worksheet Functions | |||
Category color changes when changing values. | Charts and Charting in Excel | |||
Neg Values in Chart with Diff Color? | Excel Discussion (Misc queries) |