Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default User defined function detects font colour

However, when the font colour is changed the worksheet does not recalculate.
Is there a way a recalculate can be forced on a format change? If the cell
is edited (or go into edit mode but do not change anything) then return is
pressed then everything works fine.

Who has a solution or is this just a free suggestion to Microsoft which
would simply add another dimension to the Worksheet for applications like
schedule creation for more than one supplier.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default User defined function detects font colour

Colour change does not trigger any sort of recalculation.

You could add Application.Volatile to the start of the UDF, but this will
only recalculate when something else on the worksheet forces a
recalculation, such as another function being affect, or a hard recalculate,
Alt-F9.

--
HTH

Bob Phillips

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

"WeedOutSpammers" wrote in
message ...
However, when the font colour is changed the worksheet does not

recalculate.
Is there a way a recalculate can be forced on a format change? If the

cell
is edited (or go into edit mode but do not change anything) then return is
pressed then everything works fine.

Who has a solution or is this just a free suggestion to Microsoft which
would simply add another dimension to the Worksheet for applications like
schedule creation for more than one supplier.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default User defined function detects font colour

Useful, thank you. It would be a good product enhancement though

"Bob Phillips" wrote:

Colour change does not trigger any sort of recalculation.

You could add Application.Volatile to the start of the UDF, but this will
only recalculate when something else on the worksheet forces a
recalculation, such as another function being affect, or a hard recalculate,
Alt-F9.

--
HTH

Bob Phillips

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

"WeedOutSpammers" wrote in
message ...
However, when the font colour is changed the worksheet does not

recalculate.
Is there a way a recalculate can be forced on a format change? If the

cell
is edited (or go into edit mode but do not change anything) then return is
pressed then everything works fine.

Who has a solution or is this just a free suggestion to Microsoft which
would simply add another dimension to the Worksheet for applications like
schedule creation for more than one supplier.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default User defined function detects font colour

Agree with that. It is certainly oft-asked.

--
HTH

Bob Phillips

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

"WeedOutSpammers" wrote in
message ...
Useful, thank you. It would be a good product enhancement though

"Bob Phillips" wrote:

Colour change does not trigger any sort of recalculation.

You could add Application.Volatile to the start of the UDF, but this

will
only recalculate when something else on the worksheet forces a
recalculation, such as another function being affect, or a hard

recalculate,
Alt-F9.

--
HTH

Bob Phillips

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

"WeedOutSpammers" wrote in
message ...
However, when the font colour is changed the worksheet does not

recalculate.
Is there a way a recalculate can be forced on a format change? If the

cell
is edited (or go into edit mode but do not change anything) then

return is
pressed then everything works fine.

Who has a solution or is this just a free suggestion to Microsoft

which
would simply add another dimension to the Worksheet for applications

like
schedule creation for more than one supplier.






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 968
Default User defined function detects font colour

A calculate event is not triggered by a format change BUT

conditional formats get executed by every screen refresh done on the part of
the screen they are formatting, and you can use UDFs in conditional format
conditions ...

regards
Charles
______________________
Decision Models
FastExcel 2.2 Beta now available
www.DecisionModels.com


"WeedOutSpammers" wrote in
message ...
However, when the font colour is changed the worksheet does not
recalculate.
Is there a way a recalculate can be forced on a format change? If the
cell
is edited (or go into edit mode but do not change anything) then return is
pressed then everything works fine.

Who has a solution or is this just a free suggestion to Microsoft which
would simply add another dimension to the Worksheet for applications like
schedule creation for more than one supplier.



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
Color a result cell in a user defined function aaa Excel Discussion (Misc queries) 1 May 8th 06 04:16 PM
Creating my own user defined function help statements Craig Excel Worksheet Functions 2 February 22nd 06 04:51 PM
User defined charts- font size too small Bill B Charts and Charting in Excel 1 December 30th 04 06:23 PM
how to move user defined function Grant Excel Worksheet Functions 1 November 17th 04 06:38 PM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


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