I wanted to run terminal .command file with script from Excel VBA Macro. I found out that I can use
Shell ("/Users/user/path/to/file/test.command")
but it throws an error
“test.command” can’t be opened because Microsoft Excel is not allowed to open documents in Terminal.
Is there any way to allow Excel to run Terminal commands?
I saw an option to change .command
to .sh
and run with chmod +x
, but it does not do anything (no error, no result). Thanks in advance.