- The Mac version has the ActiveX Objects removed and a modified verion of Ron DeBruins Applescript code. I havent been able to test it yet on a Mac but Ill be getting a loaner from IT. We have one department that only has Mac desktops deployed, with Excel 2011 for Mac.
- For information about VBA for Excel, PowerPoint, and Word, see the following: Excel VBA reference; PowerPoint VBA reference; Word VBA reference; 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.
- Send Mail from Mac Excel VBA code examples. Because there are a few bugs in VBA SendMail in Excel for the Mac and there is no Outlook object model in Outlook 2011 and 2016 like there is in Outlook for Windows we Run a AppleScript string with the built-in VBA MacScript function in the mail examples below for 2011 to get the same or better result.
I have a problem with Excel 2011 in my Macbook Pro. I want to use macros (kstat.xls) but it doesn't work. It says that I need VBA converters. I didn't do anything to exclude VBA converters while installing. The VBA converters document in the Microsoft website also doesn't work for me because it's for Power PC processors. I had a chance (30 minutes) to play with Excel 2011 on the Mac OS X today. I was shocked to discover that Excel 2011 didn’t appear to support User-Defined Functions (UDFs) like Excel 2010 for Windows. My understanding was that this release would be one where it implemented Visual Basic for Applications (VBA) like Windows.
This Excel tutorial explains the Project Explorer within the VBA environment in Excel 2011 for Mac (with screenshots and step-by-step instructions).
See solution in other versions of Excel:
Project Explorer
The Visual Basic editor displays your VBA environment in Excel 2011:
Next, let's take a few moments to analyze the various sections in the Visual Basic editor.
In Excel 2011 for Mac, the Project Explorer is a window that can be accessed from the Visual Basic editor. It is a hierarchical listing of the objects recognized by VBA.
In this example, there are four Excel objects which represent each sheet and workbook in your Excel file - Sheet1, Sheet2, Sheet3, and ThisWorkbook.
There is also one module called Module1. The VBA code in Module1 can used anywhere in your spreadsheet. Whereas, the code within an Excel object is typically only used by that object.
If the Project Explorer is not visible when you open the Visual Basic editor, you can make it visible by selecting Project Explorer under the View menu.
Mac Users Using Excel 2016 or Excel Online
Get the new Solver App for Excel 2016 and Excel Online this free Solver app works equally well in desktop Excel 2016 and Excel Online – and handles the smallest to the largest, most challenging optimization models. Users can obtain Solver immediately from Microsoft AppSource. Over 100,000 existing “cloud Solver” users will receive the new version automatically. When your model gets to big for the free add-in contact us about upgrading.
If you're still using Excel 2008 for Mac, you can download Solver for Excel 2008 here -- but we highly recommend an upgrade to Excel 2011, for many reasons including a better Solver!
Using the Excel 2011 Solver for Mac
Starting with Excel 2011 Service Pack 1 (Version 14.1.0), Solver is once again bundled with Microsoft Excel for Mac. You do not have to download and install Solver from this page -- simply ensure that you have the latest update of Excel 2011 (use Help - Check for Updates on the Excel menu).
To enable Solver, click ‘Tools’ then ‘Addins’. Within the Addin box, check ‘Solver.xlam’ then hit ‘OK’.
To use Solver, start Excel 2011 and create or open your workbook. When you're ready to use Solver, click the Solver button on the Data tab (the bundled version of Solver doesn't use the menu Tools Solver.) . The Solver Parameters dialog should appear, in the language of your Microsoft Excel 2011 installation. Click here for Solver Help, applicable to both Excel 2010 for Windows and Excel 2011 for Mac.
Use the Solver Parameters dialog to select your objective, decision variables, and Constraints. Then click the Solve button. Solver will seek the optimal solution to the problem. When it's finished, the Solver Results dialog will appear, and the final values of the decision variables will appear in your workbook in Excel. To pause or stop Solver while it's solving, press the ESC key, and click Stop (or Continue) when the Trial Solution dialog appears.
Caution:Don't make changes yourself in Excel or your workbook while Solver is solving. Changes in Excel while Solver is solving, will have unpredictable results, including crashes in Solver or Excel. See the FAQ about Solver as a Separate Application.)
If You Updated to Excel 2011 SP1 and Installed Solver from Solver.com
If you've previously updated to Excel 2011 Service Pack 1 and after doing this, you've also downloaded and installed the Solver package formerly available on this page, you'll be fine, but you can encounter a problem (involving which version of Solver gets loaded and used) which we can easily help you solve. Just email us at at support@solver.com.
Read the FAQ to learn how Solver for Excel 2011 was developed, special considerations in using this Solver versus the one in Excel 2008, and what to expect in the future.
The History of the Excel 2011 Solver for Mac
Before Microsoft began bundling the Solver with Excel for Mac, Frontline Systems worked with Microsoft's Mac Business Unit to bring you a faster, easier to use, and more powerful Solver. The version that we provided was free and 100% compatible -- your existing Solver models would work without any changes, whether they're from Excel 2004 or 2008 for Mac, or Excel 2003, 2007 or 2010 for Windows.
Matches New Solver for Excel 2010 for Windows
Solver for Excel 2011 for Mac has the same new features and user interface as Solver for Excel 2010 for Windows -- which is greatly enhanced over Solver for Excel 2007.
Microsoft Excel 2011
Includes New Evolutionary Solving Method
Based on genetic algorithms, this method complements Solver's linear programming and nonlinear optimization methods. Use it to find solutions for models with IF and LOOKUP functions.
Global Optimization for Nonlinear Models
Automatically run the GRG Nonlinear Solver from multiple, intelligently chosen starting points, to find better solutions when the old Solver would be 'trapped' in a local optimum.
New user interface matches Excel 2010
Excel 2011 For Mac Download
You may also be interested in:
Vba For Mac Excel 2011 Product
- Try our Solver Tutorial to learn more about building Solver models and getting solutions.
- Premium Solver Platform for Mac offers far more power, speed and flexibility than the Standard Excel Solver while allowing all your existing models, even your VBA code, to be used as-is.
- If you are a developer of optimization or simulation applications, check our Solver SDK Platform. It's available for Windows and Linux -- but contact us for news about availability of the SDK for Mac OSX.