Microsoft KB Archive/102864

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 16:02, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Microsoft Knowledge Base

Excel: Type_num Required with DOCUMENTS()

Last reviewed: September 12, 1996
Article ID: Q102864

The information in this article applies to:

  • Microsoft Excel for Windows, versions 4.0, 4.0a
  • Microsoft Excel for the Macintosh, version 4.0

SUMMARY

On pages 118 and 460 of the "Function Reference," version 4.0, the type_num arguments in the DOCUMENTS() and WINDOWS() functions are not bold, indicating that the argument is not required.

This information is incorrect: when you use the match_text argument, type_num is a required argument for both the DOCUMENTS() and WINDOWS() functions if wildcards are present in the match_text argument.

MORE INFORMATION

If the type_num argument is not present when you use wildcard characters in the match_text argument, the DOCUMENTS() and WINDOWS() functions will return an #N/A error value.

Examples:

   =DOCUMENTS(,"aa.*")
   =DOCUMENTS(,"*.*")
   =WINDOWS(,"aa.*")
   =WINDOWS(,"*.*")

If the type_num argument is not present when you are using a valid document name with the DOCUMENTS() function, the formula will return an #N/A error value.

Example:

    =DOCUMENTS(,"Sheet1.xls")

REFERENCES

"Function Reference," version 4.0, pages 118, 460


KBCategory: kbdocerr

KBSubcategory:

Additional reference words: 4.00 4.00a



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
©1997 Microsoft Corporation. All rights reserved. Legal Notices.