XL97: Sample Code to Use a Date Range with NETWORKDAYS (192833)
The information in this article applies to:
- Microsoft Excel 97 for Windows
This article was previously published under Q192833 SUMMARY
When you use the Networkdays function to use a range of dates for the
Holidays argument, you must either enter the dates in a range of cells or
enclose the dates with array {} brackets.
This article includes a Visual Basic for Applications function that allows
you to enter a beginning date and an ending date for a consecutive range of
dates. The function will return the entire array of dates between the
beginning and ending dates and can be used with the Holidays argument of
the Networkdays function.
For additional information about the Networkdays function, please see the
following article in the Microsoft Knowledge Base:
89507
XL: How to Use NETWORKDAYS() with Multiple Holidays
REFERENCES
For more information about the Networkdays function, click Contents And
Index on the Help menu, click the Index tab in Excel 97 Help, type the
following text
and then double-click the selected text to go to the "NETWORKDAYS worksheet
function" topic. If you are unable to find the information you need, ask
the Office Assistant.
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB192833 |
---|
|