MacID function

Category: File / I-O & Environment

Summary

(Classic Mac only, obsolete) Returns a four-character identifier for a Macintosh file type.

Syntax

MacID(constant) The required constant argument consists of 4 characters used to specify a resource type, file type, application signature, or Apple Event; for example, TEXT, OBIN, "XLS5" for Excel files ("XLS8" for Excel 97); Microsoft Word uses "W6BN" ("W8BN" for Word 97), and so on.

Microsoft Support Page

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/macid-function

Back to Functions