Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
color function
I would like to write a function that will color the interior of a cell
according to RGB values. This is my code: Function InteriorColor(ByVal R as Integer, ByVal G as Integer, ByVal B as Integer) ActiveCell.Interior.Color = RGB(R, G, B) End Function This simple code refuse to work when I call it from a worksheet, although it works well when activates him from another subroutine. What is wrong ?!! Thanks for the help Avner R&D Physicist email: |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
add fill color or font color to if function | Excel Worksheet Functions | |||
Color formula function | Excel Worksheet Functions | |||
IF function for cell color | Excel Worksheet Functions | |||
How to put color on if function | Excel Worksheet Functions | |||
cell color within a function | Excel Programming |