

How To Import An Object In The Visual Basic Editor.How To Export An Object In The Visual Basic Editor.How To Export Or Import An Object In The Visual Basic Editor.How To Customize The Visual Basic Editor. Books Referenced In This Excel TutorialĮnough with the introduction. Let's get into the first topic of this Excel tutorial about the Visual Basic Editor. The Visual Basic Editor is not exactly the same as Excel. It is actually a separate application, even though you'll usually open it through Excel. In fact, in order for the VBE to be able to run, Excel must be open. The main function of the VBE is to allow you to write and edit VBA code. The Visual Basic Editor is sometimes referred to as the Integrated Development Environment (IDE). Click on “Visual Basic” in the Developer tab of the Ribbon.You can open the VBE using either of the following methods: How To Open The Visual Basic Editor In Excel In this Excel tutorial, I use the first term (Visual Basic Editor or VBE) but don't be confused if you see the second term being used in other places. The basic VBE window can be divided in the following 6 sections, all of which I explain below. In reality, there are more components than those which appear in this screenshot (such as the Locals and Watch Windows) but, since they're more advanced, I'll cover them in a future Excel tutorial.Īs a consequence of the above, there is the possibility that your VBE window doesn't look exactly as the screenshot above. In fact, if this is the first time that you're opening the Visual Basic Editor, you probably can't see element #6 that appears in the lower part of the image above. The reason is that this particular window (known as the Immediate Window) is, by default, hidden.

The Visual Basic Editor allows you to, for example: I explain how you can easily unhide it below.Īs you get more familiar with the VBE, you'll notice that you have a lot of flexibility regarding how the interface looks like. Let's dive right in and understand the 6 main components of the Visual Basic Editor.

#VISUAL BASIC FOR EXCEL COURSE WINDOWS#
