NETWORKDAYS() Function Causes GP Fault

Last reviewed: September 12, 1996
Article ID: Q97113
The information in this article applies to:
  • Microsoft Excel for Windows, versions 4.0, 4.0a

SUMMARY

In Microsoft Excel version 4.0, the NETWORKDAYS() function (an Analysis ToolPak add-in macro function) may produce a general protection (GP) fault when an array of dates is used as the holidays argument.

MORE INFORMATION

In some cases, defining a multi-column holidays array list for the NETWORKDAYS() function may cause a GP fault in Microsoft Excel version 4.0 for Windows.

Workaround

To work around this problem, redefine the table as a single-column array.

REFERENCES

"Microsoft Excel Function Reference Guide", version 4.0, page 284


KBCategory: kbprb
KBSubcategory:

Additional reference words: 4.00 GPF Analysis Pack Pak Tool ATP



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: September 12, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.