Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / February 2007

Tip: Looking for answers? Try searching our database.

Another Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kris79 - 24 Feb 2007 20:02 GMT
Is it possible to write an if function on a background color. Say if
a1 has a background color of red return 1 if true and return 0 if
false.
Joel - 24 Feb 2007 22:14 GMT
Use this function

Function GetBackgroundColor(Mycell As Range) As Integer
'
' GetBackgroundColo Macro
' Macro recorded 2/24/2007 by Joel
'

'
GetBackgroundColor = Mycell.Interior.ColorIndex
End Function

> Is it possible to write an if function on a background color. Say if
> a1 has a background color of red return 1 if true and return 0 if
> false.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.