Excel: Function Macros with a TYPE 8 Reference Recalculate

Last reviewed: November 1, 1994
Article ID: Q76254
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 2.2 and 3.0

SUMMARY

If you define a function macro where one of the arguments expected is a reference (TYPE 8), the function macro acts like a volatile function. This means that if you turn on automatic calculation, the function recalculates whenever you make a change to any cell in an open document.

You can avoid this problem by turning on manual calculation or by changing the argument to another type. For example, if the reference is to a range of cells, the argument could be changed to expect an array (TYPE 64). This works as long as the range is less than the maximum size of an array (approximately 6400 cells for Microsoft Excel for the Macintosh version 3.0 and 1600 cells for Excel 2.2).


KBCategory:
KBSubcategory:

Additional reference words: 2.2 2.20 3.0 3.00



THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 1, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.