Mar 21, 2018 - In this article we'll automate Excel Solver from start to finish. Macro tool will allow Excel to convert our manual steps into VBA code. The screenshot below is for Mac but PC based Excel is similar. The Microsoft support site has instructions for all platforms, Load the Solver. Pop up to create a macro.
See solution in other versions of Excel:. How to open the VBA environment You can access the VBA environment in Excel 2007 by opening the Microsoft Visual Basic window. First, be sure that the Developer tab is visible in the toolbar in Excel. The Developer tab is the toolbar that has the buttons to open the VBA editor and create Form/ActiveX Controls like buttons, checkboxes, etc. To display the Developer tab, click on the Microsoft Office button in the top left of the Excel window and then click on the Excel Options button. When the Excel Options window appears, click on the Popular option on the left.
Select the option called ' Show Developer tab in the Ribbon'. Then click on the OK button. Select the Developer tab from the toolbar at the top of the screen. Then click on the Visual Basic option in the Code group. Now the Microsoft Visual Basic editor should appear and you can view your VBA code.