In Excel 2016, the following AppleScript:
tell application "Microsoft Excel"
activate
open "Macintosh HD:Users:path:to:file"
end tell
opens a dialog asking the user to grant access
With previous Excel's versions, the file opened immediately.
It seems that Microsoft doesn't allow any more to open a file from a script without the express user permission.
Is there a way to bypass the dialog?