Use VBA add-ins and macros that you developed for Office for Windows with Office for Mac.
Applies to: Excel for Mac PowerPoint for Mac Word for Mac Office 2016 for Mac
If you are authoring Macros for Office for Mac, you can use most of the same objects that are available in VBA for Office. For information about VBA for Excel, PowerPoint, and Word, see the following:
Note
Outlook for Mac and OneNote for Mac do not support VBA.
Unlike other versions of Office apps that support VBA, Office 2016 for Mac apps are sandboxed.
Sandboxing restricts the apps from accessing resources outside the app container. This affects any add-ins or macros that involve file access or communication across processes. You can minimize the effects of sandboxing by using the new commands described in the following section.
Quit out of all Office for Mac apps such as Word, Excel, PowerPoint, Outlook, and OneNote. Search for 'keychain' in Spotlight and launch the Keychain Access app. Select the login keychain entry in the top left navigator pane, then from the File menu, choose Lock Keychain 'login'. Microsoft Excel for Mac is the world’s most famous and widely used spreadsheet editing application. Originally developed by the Microsoft in 1987, this software received numerous expansions of capabilities, making it the go-to source for spreadsheet editing, use of graphing tools, pivot tables, macro programming, and much more.
For instructions on creating an installer for your add-in, please refer to the article here: Installing User Content in Office 2016 for Mac
The following VBA commands are new and unique to Office 2016 for Mac.
Command | Use to |
---|---|
GrantAccessToMultipleFiles | Request a user's permission to access multiple files at once. |
AppleScriptTask | Call external AppleScript scripts from VB. |
MAC_OFFICE_VERSION | IFDEF between different Mac Office versions at compile time. |
Office 2016 for Mac supports ribbon customization using Ribbon XML. Note that there are some differences in ribbon support in Office 2016 for Mac and Office for Windows.
Ribbon customization feature | Office for Windows | Office for Mac |
---|---|---|
Ability to customize the ribbon using Ribbon XML | Available | Available |
Support for document based add-ins | Available | Available |
Ability to invoke Macros using custom ribbon controls | Available | Available |
Customization of custom menus | Available | Available |
Ability to include and invoke Office Fluent Controls within a custom ribbon tab | Available | Most familiar Office Fluent Control Identifiers are compatible with Office for Mac. Some might not be available. For commands that are compatible with Office 2016 for Mac, see idMSOs compatible with Office 2016 for Mac. |
Support for COM add-ins that use custom ribbon controls | Available | Office 2016 for Mac doesn't support third-party COM add-ins. |
For information about the idMSOs that are compatible with Office 2016 for Mac, see the following:
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
-->Note
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
One or more toolbars are missing and cannot be added in Microsoft Excel for Mac.
There are two possible causes of this behavior:
To resolve this issue, use the following methods in order.
In the upper-right corner of the Excel window, click the oval button.
.Expression Web 4 gives you the tools you need to produce high-quality, standards-based Web sites: built-in support for today’s Web standards, sophisticated CSS design capabilities, and visual diagnostic tools. For more information, visit the.For additional language downloads for Expression Web, please select one of the following:. Whether you work with PHP, HTML/XHTML, CSS, JavaScript, ASP.NET or ASP.NET AJAX, Expression Web makes it faster and easier to create and maintain exceptional web sites.Please note: This free version of Expression Web is not eligible for Microsoft technical support and is community support.
Note
When this button is clicked, the toolbars are hidden (in any Microsoft Office for Mac application). A second click causes the toolbars to be displayed.
If the toolbars reappear, quit Excel, and then restart Excel to make sure that the appropriate toolbars are displayed.
If Method 1 did not resolve the problem, try Method 2.
To quit active applications, follow these steps:
Warning
When an application is force quit, any unsaved changes to open documents are not saved.
To remove the Excel preferences, follow these steps.
Quit all Microsoft Office for Mac applications.
On the Go menu, click Home.
Nov 04, 2013 If you want to open those Publisher files what you have made in Office for Windows, you cannot do so with Office for Mac. On the other end, there is no other software on Apple App Store for opening Microsoft Publisher file on Mac OS X. Therefore, obviously, it’s time to fall in trouble. Sadly there is no way to open a Microsoft publisher file on a Mac, until now. Here are two websites that can convert Microsoft publisher files to PDF. You can then open, read and print the pdf file on your Mac. You can even edit them. Aug 04, 2017 you can not directly open publisher file on mac, because there are no specific app for that. You can use many other tools to open that file like LibreOffice App, Office 2011 for Mac, Online Converter etc. More more information you can check here. Here are 5 free and simple ways to open and edit an MS Publisher.PUB file on a Mac. Export From Publisher PUB Format Into Another Format. Although it’s not an option for everyone, if you can contact the sender of the. Convert Publisher Files Online Into Another Format. Open Publisher. Open microsoft publisher file on mac. Oct 09, 2017 Installing Windows is also the only way to open the Microsoft PUB Publisher file format on a Mac although you can convert Publisher files into another format and import them into other DTP apps. Just follow these instructions to install Microsoft Publisher on your Mac. Download and install Parallels on your Mac.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder. Click View, click Arrange by, and then select Name.
Look for a file that is named com.microsoft.Excel.plist.
If you locate the file, drag the file to the desktop. If you cannot locate the file, the application is using the default preferences.
If you locate the file and move it to the desktop, start Excel, and check whether the problem still occurs. If the problem still occurs, quit Excel, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Excel.plist file to the trash.
Quit all Office for Mac applications.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Open the Microsoft Folder.
Look for a file that is named com.microsoft.Excel.prefs.plist.
If you locate the file, move it to the desktop. If cannot locate the file, the application is using the default preferences.
If you locate the file and move it to the desktop, start Excel, and then check whether the problem still occurs. If the problem still occurs, quit Excel, and restore the file to its original location. Then, go to the next step. If the problem seems to be resolved, you can move the com.microsoft.Excel.prefs.plist file to the trash.
Close all Office applications.
On the Go menu, click Home.
Open Library.
Note
The Library folder is hidden in MAC OS X Lion. To display this folder, hold down the OPTION key while you click the Go menu.
Open the Preferences folder.
Open the Microsoft Folder.
Open the Office 2008 or Office 2011 folder.
Look for a file that is named Excel Toolbars (12) or Microsoft Excel Toolbars.
If you locate the file, move it to the desktop. If you cannot locate the file, the application is using the default preferences.
If you locate the file and move it to the desktop, start Excel, and check whether the problem still occurs. If the problem still occurs, quit Excel, and restore the file to its original location. If the problem seems to be resolved, you can move the Excel Toolbars (12) file or the Microsoft Excel Toolbars to the trash.
Note
If the problem still occurs after you follow these steps, the problem is not related to these files. If the problem no longer occurs, one of these files was causing the problem. If this is the case, restore the files to their original location one at a time. Test the application after you restore each file. Continue to do this until the problem occurs again. When the problem recurs, you can then assume that it is caused by the last file that you restored. Drag that file to the trash.