[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference subsys::excel

Title:Microsoft Excel User Hints and Kinks
Moderator:FIEVEL::FILGATE
Created:Thu May 27 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:483
Total number of notes:1391

479.0. "recalculating cells that invoke visual basic functions" by TLE::MICHAELS (Karen Michaels) Thu May 08 1997 17:19

I wrote some Excel (visual basic) functions that I am using to compute some of the cells 
in my spreadsheet.   The functions read the values of some cells and return a value. 
I cannot figure out how to get the functions to be reinvoked when the values of the cells 
that they use change.  It would be ok if I could simply  force the functions to be reinvoked 
on demand.  How can I do this?

I have tried to use the calc now and calc sheet in the calculation options, but these
buttons don't force the recalculation. I have also written a macro which does a 
Worksheets(1).Calculate.  This also failed to recalculate the cells.

I am using Excel 97.

        ---Karen
T.RTitleUserPersonal
Name
DateLines
479.1MRPTH1::16.121.160.240::slab[email protected]Thu May 08 1997 22:584
Help says to use SHIFT F9 to recalculate the current sheet.

ALT SHIFT F9 does all active sheets.
479.2this doesn't recaculate my functionsTLE::MICHAELSKaren MichaelsFri May 09 1997 10:596
>Help says to use SHIFT F9 to recalculate the current sheet.
>
>ALT SHIFT F9 does all active sheets.

This does recalculate my functions.  I think this is the same
as the recal functions in the calculation options tab,