Learn Microsoft Excel 2011 Mac

Congratulations, you have completed the Excel 2011 tutorial that explains how to debug in the VBA environment in Microsoft Excel 2011 for Mac.

Tutorial Summary

2011-12-16  In Excel 2011, how do I find a cell based on its formatting? For example I want to find a cell if the font of the text is Calibri, or if the color of the backgrounds is red. In Excel 2007 and Excel. Jan 14, 2015 This Video show you how to draw a bar graph on excel in Macbook, using MS Excel 2011. Microsoft 2011 is the latest available version for Mac, however we are hopeful to get the latest version soon.

Excel 2011 is a version of Excel developed by Microsoft that runs on the Windows platform.

In this Excel 2011 tutorial, we covered the following:

  • What is the VBA debugging environment?
  • How to set a breakpoint
  • How to clear a breakpoint
  • How to clear all breakpoints
  • Debug mode in VBA
  • How to check values in VBA
  • How to use the Immediate Window
  • How to move through the code
  • Step Into
  • Step Over
  • Continue
  • Halt

Each version of Excel can 'look and feel' completely different from another. As such, we recommend that you try one of our other Excel tutorials to become familiar with the Excel version that you will be using.

Other Excel Tutorials

Now that you have learned about the VBA debugging environment in Excel 2011, learn more.

Try one of our other Excel tutorials:

Excel 2016 Tutorials

Excel 2013 Tutorials

Excel 2011 for Mac Tutorials

Excel 2010 Tutorials

Excel 2007 Tutorials

Excel 2003 Tutorials

Learn Microsoft Excel

There is still more to learn!

The first option on the View menu of the Office 2011 for Mac Visual Basic Editor (VBE) is the Code option, which is grayed out until you make at least one Code window visible in the VBE. A common way to open a new code window is to use Insert→Module. A module is like a new word processing document window — it’s blank. Nothing interesting happens until you start writing. The same VBE features apply to Excel, Word, and PowerPoint.

Exploring the Office 2011 VBE Code Window

Notice that horizontal lines separate the declarations section and each of the two macros. The lines are drawn automatically by the VBE. Each macro section is called a procedure. More about Code windows:

  • Object pop-up menu: This is the pop-up menu on the left side of the window; it provides a list of shortcuts to objects.

  • Procedure pop-up menu: This is the pop-up menu on the right side of the window; it provides a list of shortcuts to procedures and declarations. When an object is chosen in the Object pop-up menu, the procedures that are applicable to the selected object are displayed.

  • Declarations section: (Optional) Public declarations appear at the top of a Code module.

    Latest version microsoft 365 word for mac download. Jan 24, 2019  Today, Office 365—with modern, cloud-connected versions of Word, Excel, PowerPoint, Outlook, OneNote, and OneDrive—is now available to download as a bundle on the Mac App Store.

  • Macro modules: Each macro, or procedure, is separated by a line.

  • Procedure view button: Click to limit the display to the declaration or procedure section that has the insertion cursor.

  • Full Module view button: Click to display all Code window contents.

Writing VBA code in Office 2011 for Mac

Learn Microsoft Excel 2011 Mac

Learn Microsoft Excel Online

As with a word processor, in a Code window the editor knows which commands are legal and which are not, and the editor gives you feedback as you type. New for VBA (Visual Basic for Applications) in Office 2011 is Intellisense, a feature that helps you automatically complete your code as you type. To see how Intellisense works, declare a public variable in an empty Code window:

  1. Choose Insert→Module to display a blank Code window.

  2. Type the following code exactly as you see it here and press Return at the end of the line:

Notice that after you type as, a pop-up menu appears. This is Intellisense at work. If you know what you want to type, you can keep right on typing. But if you want to see all the possible options, use the pop-up menu.

Getting help with VBA code in Office 2011 for Mac

You can rely on the following five principal sources of code examples, syntax help, and general programming assistance:

  • Macro recorder: In Excel and Word, you can record your actions and then look at the code that was recorded inside the modules.

  • Object browser: A handy treasure trove of information about the objects, methods, and properties of Office.

  • Help: The Help system within the VBE is minimal. Microsoft plans to provide VBA help for Excel only.

  • Internet: Search the Internet for VBA code examples.

  • Books on VBA: You can find plenty of books about VBA.