#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default countcolor

Hi, I'm using this Macro in VBA to get excel calculate every cell that
has a particular BG color in a determided range:

http://www.cpearson.com/excel/colors.htm
Counting Cells With A Specific Color

Does someone know how to modify this function so that it automatically
triggers a recalculation right after i modify a cell's bg color?
Because right now, I have to force it manually clicking on CTRL+ALT+F9.

Thanks a lot!

Pascal

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default countcolor

Can't be done because changing a colour does not trigger any event that you
can tap into. You approach is one way, another is to create a colour toolbar
and set the colours by a macro from there, where you can force a
calculation.

But, no way to get it updated automatically.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Pascal" wrote in message
oups.com...
Hi, I'm using this Macro in VBA to get excel calculate every cell that
has a particular BG color in a determided range:

http://www.cpearson.com/excel/colors.htm
Counting Cells With A Specific Color

Does someone know how to modify this function so that it automatically
triggers a recalculation right after i modify a cell's bg color?
Because right now, I have to force it manually clicking on CTRL+ALT+F9.

Thanks a lot!

Pascal



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



All times are GMT +1. The time now is 05:16 PM.

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

About Us

"It's about Microsoft Excel"