Since it only runs on Widows machines a workaround would be to create a partition on your Mac using Boot Camp so you can install Windows to run Visual Basic. That's a lot of work to go through just to use one app. Look for the 'Visual Basic Programming Language' on the AppStore too. Thanks for using the application! Basic is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use - the name is an acronym from Beginner's All-purpose Symbolic Instruction Code. Mar 23, 2021 An identified security issue in Microsoft® Visual Basic® for Applications could allow an attacker to compromise a Microsoft Windows®-based system and then take a variety of actions. By installing this update, you can help protect your computer.
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.
Office 2016 for Mac is sandboxed
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.
Creating an installer or putting user content
Download Visual Basic 6.0 Installer
For 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
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. |
Ribbon customization in Office for Mac
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. |
idMSOs compatible with Office 2016 for Mac
For information about the idMSOs that are compatible with Office 2016 for Mac, see the following:
See also
Studio Imac
Support and feedback
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.
Visual Studio Code is not Visual Basic Express, nor does it recreate the underlying Microsoft Windows system features and libraries that Visual Basic Express expects. If the school requires Visual Basic Express, then you need to provide your son with a Windows solution on his Mac. Depending on the school's business relationship with Microsoft, they may offer a less expensive, and even potentially, a free version of Windows 10. Inquire.
Your options for running Windows 10 on the 2015 MacBook Pro with El Capitan, are:
- Apple's Boot Camp Assistant (included) with El Capitan in /Applications/Utilities.
- Creates a separate, bootable (not virtualized) partition on the Mac and installs Windows 10 into it
- One can choose to boot into OS X, or Windows 10.
- Apple provides specific drivers for Windows 10 for MacBook Pro hardware compatibility.
- Thoroughly read the above link before plunging into a Boot Camp installation.
- One of three virtual machines to run Windows 10 concurrently as a guest OS with OS X
- Free
- Expects a Windows 10 ISO (.iso) installer
- Parallel's Desktop
- Currently $79/year home/student
- Purchased from Parallels Site
- Parallel's Lite (free) in Mac App Store requires $60/yr in-App purchase to install Windows
- VMware Fusion
- Currently $79
- Purchased from VMware Fusion site
Your son can run any of these solutions on the 2015 MacBook Pro with El Capitan. If it is an 8GB RAM machine, you may want to caution about running any other applications while using the Virtual Machines, or your son may run out of memory. I currently run Windows 10 w/Fall Creator's update in VirtualBox 5.2.6 on a 2011 Mac mini with 16GB RAM.
If you go the VirtualMachine route, I would assign 50 GB - 75 GB of storage to the guest container because of the continuous inundation of bloated Microsoft updates, and additional software (development) installations. The Creators updates are close to 7 GB each. You might let Time Machine back this up the VM guest once, and then in Time Machine Preferences, add the VM directory to the exclusions. Each time you change something in the guest container, Time Machine will back it up, and it is a quick way to exhaust a Time Machine drive.
Feb 17, 2018 4:26 AM