Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Force recalcualte on cell format change

Need to force Excel to recalculate when the user changes the font color or
fill of a cell within the worksheet. Have a custom function the counts the
number of cells with a cetain fill or font color. Function recalcutales if
the data in the range is changed but not on a chang to the font or fill
color. How can I get Excel to recalculate on a change to the cell format?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Force recalcualte on cell format change

You would need to perform calculate on each selection change using the
SelectionChange event - that is about a close as you can come. You would
also need to make your UDF's volatile.

http://www.cpearson.com/excel/events.htm
For an overview of events.
--
Regards,
Tom Ogilvy


"S Isfeld" wrote:

Need to force Excel to recalculate when the user changes the font color or
fill of a cell within the worksheet. Have a custom function the counts the
number of cells with a cetain fill or font color. Function recalcutales if
the data in the range is changed but not on a chang to the font or fill
color. How can I get Excel to recalculate on a change to the cell format?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Force recalcualte on cell format change

Have a limited number of format options used on the speadsheet. Added each
one to the shortcut menu that displays when I right click a certain range of
cells. This allowed me to call a function that formats the selected cell and
runs a calculate on the worksheet.

"Tom Ogilvy" wrote:

You would need to perform calculate on each selection change using the
SelectionChange event - that is about a close as you can come. You would
also need to make your UDF's volatile.

http://www.cpearson.com/excel/events.htm
For an overview of events.
--
Regards,
Tom Ogilvy


"S Isfeld" wrote:

Need to force Excel to recalculate when the user changes the font color or
fill of a cell within the worksheet. Have a custom function the counts the
number of cells with a cetain fill or font color. Function recalcutales if
the data in the range is changed but not on a chang to the font or fill
color. How can I get Excel to recalculate on a change to the cell format?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Force recalcualte on cell format change

That would certainly be unqiue to your situation. Hitting Ctrl+Shift+F9 when
appropriate would be another.

--
Regards,
Tom Ogilvy



"S Isfeld" wrote:

Have a limited number of format options used on the speadsheet. Added each
one to the shortcut menu that displays when I right click a certain range of
cells. This allowed me to call a function that formats the selected cell and
runs a calculate on the worksheet.

"Tom Ogilvy" wrote:

You would need to perform calculate on each selection change using the
SelectionChange event - that is about a close as you can come. You would
also need to make your UDF's volatile.

http://www.cpearson.com/excel/events.htm
For an overview of events.
--
Regards,
Tom Ogilvy


"S Isfeld" wrote:

Need to force Excel to recalculate when the user changes the font color or
fill of a cell within the worksheet. Have a custom function the counts the
number of cells with a cetain fill or font color. Function recalcutales if
the data in the range is changed but not on a chang to the font or fill
color. How can I get Excel to recalculate on a change to the cell format?

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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
Recalcualte formulas linked to other sheets (Excel 2003) Theo Excel Discussion (Misc queries) 2 January 15th 08 10:53 AM
How to force a cell value to change if Linked cell moves? EagleOne Excel Discussion (Misc queries) 2 December 6th 06 03:32 PM
Force file name change Otto Moehrbach Excel Programming 0 May 15th 06 05:52 PM
Force format change in excel Benson Excel Worksheet Functions 5 November 29th 05 10:41 AM


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