Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to force a recalculation of values based on custom function

Hi,

I've written a custom function
(Calculate_Budget_By_Quarter) that conditionally sums
values from one worksheet by iterating through all rows on
that worksheet. The function is then called in multiple
cells in another worksheet (=Calculate_Budget_By_Quarter
(Arg1, Arg2)).

In spite of putting .Calculate for these cells in the
Activate event of the sheet where the custom function is
used, nothing happens when I add/change/remove rows on the
first worksheet.

Any ideas how I might fix this?

Cheers,

W

PS: Thanks Tom and Chrissy for your help with getting the
function to work in the first place :-)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to force a recalculation of values based on custom function

If you are using xl2000 or later, use CalculateFull

--
Regards,
Tom Ogilvy

"Wim Bartsoen" wrote in message
...
Hi,

I've written a custom function
(Calculate_Budget_By_Quarter) that conditionally sums
values from one worksheet by iterating through all rows on
that worksheet. The function is then called in multiple
cells in another worksheet (=Calculate_Budget_By_Quarter
(Arg1, Arg2)).

In spite of putting .Calculate for these cells in the
Activate event of the sheet where the custom function is
used, nothing happens when I add/change/remove rows on the
first worksheet.

Any ideas how I might fix this?

Cheers,

W

PS: Thanks Tom and Chrissy for your help with getting the
function to work in the first place :-)



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
How to force the use of a specific custom list in a excel 2007 cha velasques Excel Worksheet Functions 0 February 12th 09 10:07 AM
Force Selection of Custom Views [email protected] Excel Discussion (Misc queries) 3 September 12th 06 10:17 PM
Custom formatting to force a decimal place Mike K Excel Discussion (Misc queries) 3 July 31st 05 10:56 AM
Force refresh of custom functions donesquire Excel Worksheet Functions 5 May 11th 05 07:36 PM
Force Recalculation Ron_D Excel Discussion (Misc queries) 3 April 15th 05 08:17 PM


All times are GMT +1. The time now is 04:30 PM.

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"