MacScript function

Category: File / I-O & Environment

Summary

(Mac only, deprecated) Executes an AppleScript script from within VBA and returns the result.

Syntax

MacScript(script) The script argument is a String expression. The String expression either can be a series of AppleScript commands or can specify the name of an AppleScript script or a script file.

Microsoft Support Page

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

Back to Functions