Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default Refresh/Recalculate a Custom Function

How do I set things up so that a custom function automatically recalculates
when a cell value changes? I have function which calculates a value based on
several cells and need the value updated when the cells change.

In the example below, I need the value in cell A1 to update when the value
of B1, C1 or D1 changes.

Column
Row A B C D
=getDescription() Y N Y

getDescription looks at the values in the cells and returns a string based
on the values found. Should I be passing the values directly into the
function as in

=getDescription(B1, C1, D1)

David H

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 968
Default Refresh/Recalculate a Custom Function

Hi David,

Yes you should pass the values directly into the functions as arguments:
thats what Excel looks at to determine when to recalculate a function.

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

"dch3" wrote in message
...
How do I set things up so that a custom function automatically
recalculates
when a cell value changes? I have function which calculates a value based
on
several cells and need the value updated when the cells change.

In the example below, I need the value in cell A1 to update when the value
of B1, C1 or D1 changes.

Column
Row A B C D
=getDescription() Y N Y

getDescription looks at the values in the cells and returns a string based
on the values found. Should I be passing the values directly into the
function as in

=getDescription(B1, C1, D1)

David H



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
numerical integration integreat Excel Discussion (Misc queries) 4 May 12th 06 02:40 AM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Custom function to simplify Index(match)) formula Martin Excel Discussion (Misc queries) 0 March 20th 06 02:45 PM
Custom Function SPeterson Excel Discussion (Misc queries) 3 December 21st 05 07:12 PM
Custom function returning VALUE error alex.k Excel Discussion (Misc queries) 6 September 27th 05 03:05 AM


All times are GMT +1. The time now is 02:56 AM.

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"