Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Checking a cell's format in a function

I am using conditional formatting, and one of my conditions that I would like
to use is to check another cell's fill color and format that particular cell
accordingly. Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Checking a cell's format in a function

Use an User Defined Funtion to get the Color Index and use that for
Conditional Formatting.

Example UDF
Function GetColorNumber(rng As Range) As Integer
Application.Volatile
GetColorNumber = rng.Interior.ColorIndex
End Function


"FilJ59" wrote:

I am using conditional formatting, and one of my conditions that I would like
to use is to check another cell's fill color and format that particular cell
accordingly. Is this possible?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get cell's number format category in VBA? dyowee Excel Discussion (Misc queries) 8 April 26th 23 03:43 AM
IF statement checking if a cell's text is red Shazzer Excel Worksheet Functions 7 April 3rd 23 02:40 PM
Conditional Format on another cell's value RicardoE Excel Discussion (Misc queries) 7 December 17th 08 04:27 PM
Conditional Format based on other cell's value Stella Excel Worksheet Functions 1 June 23rd 06 06:46 PM
Locking a cell's format, but not value Tim Laplaca Excel Discussion (Misc queries) 2 January 17th 05 07:05 PM


All times are GMT +1. The time now is 08:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"