Microsoft KB Archive/139661

MXL5: MacID Help Should Include XLS5 Constant

PSS ID Number: Q139661 Article last modified on 11-17-1995

5.00

MACINTOSH

= SUMMARY =

In Microsoft Excel version 5.0 for the Macintosh, the MacID topic in Visual Basic Help states the following:

The constant named argument consists of four-characters used to specify a resource type, file type, application signature, or Apple Event. For example, TEXT, OBIN, MSWD (Microsoft Word), XCEL (Microsoft Excel), and so on.

This information is incomplete: XCEL is the correct constant argument for Microsoft Excel versions 4.0 and earlier; however, the constant argument for Microsoft Excel 5.0 is XLS5.

The example from the MACID function uses the MacID function example:

’ Run Microsoft Excel. ReturnValue = Shell(MacID(“XCEL”))

The Correct Example should be:

’ Run Microsoft Excel. ReturnValue = Shell(MacID(“XLS5”))

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

ARTICLE-ID: Q138822 TITLE : XL5: How to Use the MacID Function

ARTICLE-ID: Q27655 TITLE : MXL: File and Creator Types for All Versions

KBCategory: kbprg kbdocerr KBSubcategory: xlmac

= Additional reference words: 5.00 =

Copyright Microsoft Corporation 1995.