Getting VBA Installed

Getting VBA Installed on Your PC

Setting up VBA does not require any special software installation. The VBA development software is included with each package of the Microsoft Office suite of programs, including Excel. So, if you have MS Excel already installed on your PC, you are good to go. Else, you need to download and install MS Excel on your PC.

This will enable you to access the Development Environment (where our codes would be written and our projects developed). This environment is known as VBA IDE (IDE stands for Integrated Development Environment), which is also referred to as VBE (Visual Basic Editor). We are going to be using VBE to refer to this environment throughout this tutorial

Adding Developer Toolbar to Excel

To access or set up VBE (Visual Basic Editor), you need to add Developer toolbar to Excel Ribbon. Normally, after installation of Excel, the Developer Toolbar will not be available on the Ribbon, you need to add it manually to the Ribbon.

Follow these steps to add the Developer Toolbar to your Excel Ribbon:

Click on the Excel File tab at the top left corner of Excel application and select Options at the bottom left to show the Excel Options dialog box. (Figure 1.0).

  • Select the Customize Ribbon option.
  • In the right list box, check the Developer tab
  • Click OK to close the Excel Options dialog box.

Getting VBA Installed

Fig 1.0: Excel Options Dialogue box

After that, your Ribbon should look like fig1.1 (NOTE: this is from Excel 2013);

Getting VBA Installed

Fig 1.1: Showing the Developer tab

The steps given earlier are for MS Excel 2010 and 2013. However, if you are using Excel 2007, follow these steps:

Click on the round Office button, then click Excel Options at the bottom. When you get the Options dialogue box up, click on Popular from the left in 2007. In the section labelled “Top options for working with Excel” check the box for “Show Developer tab in the Ribbon“:

Getting VBA Installed

Fig 1.2 Activating Developer tab in Excel 2007

Great! Now that we have added the Developer tab to our Excel, we are a step towards writing our first code.

Next Section:  What is a Macro?

Was this article helpful?

Related Articles

Leave a Reply