IFDEF between different Mac Office versions at compile time.
Request a user's permission to access multiple files at once.Ĭall external AppleScript scripts from VB.
The following VBA commands are new and unique to Office 2016 for Mac. Creating an installer or putting user contentįor instructions on creating an installer for your add-in, please refer to the article here: Installing User Content in Office 2016 for Mac New VBA commands for Office 2016 for Mac You can minimize the effects of sandboxing by using the new commands described in the following section. This affects any add-ins or macros that involve file access or communication across processes.
Sandboxing restricts the apps from accessing resources outside the app container. Unlike other versions of Office apps that support VBA, Office 2016 for Mac apps are sandboxed. Outlook for Mac and OneNote for Mac don't support VBA.