Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tony Rice
 
Posts: n/a
Default Detecting cell fill color

Is there a function, or some VBA code that will detect
that a user has applied a fill color to a cell? I want to
reference a cell, and with a =IF function, apply a
calculation to colored cells.
  #2   Report Post  
Michael
 
Posts: n/a
Default

Hi Tony
There isn't anything that comes with Excel.
However, have a look at this site for processing of coloured cells.

www.xldynamic.com/source/xld.colourCounter.html


HTH
Michael

"Tony Rice" wrote:

Is there a function, or some VBA code that will detect
that a user has applied a fill color to a cell? I want to
reference a cell, and with a =IF function, apply a
calculation to colored cells.

  #3   Report Post  
Tony Rice
 
Posts: n/a
Default

Many thanks Mike - can't get the link to work right now -
I will try gain later

regards

Tony

-----Original Message-----
Hi Tony
There isn't anything that comes with Excel.
However, have a look at this site for processing of

coloured cells.

www.xldynamic.com/source/xld.colourCounter.html


HTH
Michael

"Tony Rice" wrote:

Is there a function, or some VBA code that will detect
that a user has applied a fill color to a cell? I want

to
reference a cell, and with a =IF function, apply a
calculation to colored cells.

.

  #4   Report Post  
Don Guillett
 
Posts: n/a
Default

Sub iffillcolor()
For Each c In Selection
If c.Interior.ColorIndex 0 Then c.Value = 1
Next
End Sub

--
Don Guillett
SalesAid Software

"Tony Rice" wrote in message
...
Is there a function, or some VBA code that will detect
that a user has applied a fill color to a cell? I want to
reference a cell, and with a =IF function, apply a
calculation to colored cells.



  #5   Report Post  
Gord Dibben
 
Posts: n/a
Default

Tony

As an alternative, try Chip Pearson's site.

http://www.cpearson.com/excel/colors.htm


Gord Dibben Excel MVP

On Sun, 6 Mar 2005 19:40:42 -0800, "Tony Rice" wrote:

Many thanks Mike - can't get the link to work right now -
I will try gain later

regards

Tony

-----Original Message-----
Hi Tony
There isn't anything that comes with Excel.
However, have a look at this site for processing of

coloured cells.

www.xldynamic.com/source/xld.colourCounter.html


HTH
Michael

"Tony Rice" wrote:

Is there a function, or some VBA code that will detect
that a user has applied a fill color to a cell? I want

to
reference a cell, and with a =IF function, apply a
calculation to colored cells.

.


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
Can I fill a cell with a transparent color? RP Excel Discussion (Misc queries) 1 February 9th 05 04:21 PM
Change cell back color on click Dave Peterson Excel Discussion (Misc queries) 0 January 24th 05 10:50 PM
cell color shading stacydoo Excel Discussion (Misc queries) 1 December 10th 04 07:44 AM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 04:38 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"