bishop3000
08-12-2015, 04:55 PM
I have an Excel file that makes heavy use of the MacScript command, which has been deprecated in Excel 2016.
I attempted to use the new AppleScriptTask command as explained in this StackOverflow thread: https://stackoverflow.com/questions/30949272/the-macscript-function-is-not-working-well-in-office-for-mac-2016-any-ideas/30949324#30949324
In VBA, I get run-time error 5 - Invalid procedure call or argument.
Here's where I put the script file:
14140
Here's what the script file contains:
14141
Here's the VBA code
14142
The run-time error is on the AppleScriptTask statement. Any ideas?
I attempted to use the new AppleScriptTask command as explained in this StackOverflow thread: https://stackoverflow.com/questions/30949272/the-macscript-function-is-not-working-well-in-office-for-mac-2016-any-ideas/30949324#30949324
In VBA, I get run-time error 5 - Invalid procedure call or argument.
Here's where I put the script file:
14140
Here's what the script file contains:
14141
Here's the VBA code
14142
The run-time error is on the AppleScriptTask statement. Any ideas?