Developer Tab In Excel

What Is Developer Tab In Excel?

The Developer tab in Excel offers a variety of options like automation of tasks using macros, interactive buttons, scroll bar, combo box, spin button, list box, option button, etc., Also, these features are very helpful when we create interactive dashboards and charts in Excel.

The Developer tab has four groups. They are Code, Add-ins, Controls, and XML, as highlighted in the image below.

Developer tab in excel

Code: This section contains the automation of tasks in Excel using VBA. In this section, we can record a macro and write macros from scratch. Similarly, we can also edit the already written macro or recorded macros using Visual Basic.

Add-ins: In this section, we can quickly add excel add-ins like Analysis Toolpak, Analysis Toolpak – VBA, Solver Add-ins, etc.

Controls: In this section, we can insert interactive controls like buttons, combo boxes, list boxes, spin buttons, etc.

XML: In this section, we can map XML data from both files and web URLs.

Using the Developer tab in excel, we can automate tasks and go to the Visual Basic Editor window to edit the recorded code.

For example, click on the Record Macro option under the Developer tab to record the actions in the worksheet.

Record VBA Marcos

Now, excel will ask us to name the macro in the Record Macro window.

So, let us name it Test Macro in the Macro name: box.

Developer tab in excel.1

Click on OK to start recording the macro.

Now, we are in the Sheet1 worksheet. So, let’s insert a new sheet by clicking on the ‘+’ icon.

Intro

It will insert a new worksheet.

Intro.1

Now, click on Stop Recording under the Developer tab.

Thus, we have to run this recorded macro whenever we need to insert a new sheet.

Next, click on the Macros button under the Developer tab.

Record VBA Marcos.9

It will bring the list of macros available in the workbook.

Choose the appropriate macro name and click on the Run button.

Intro.2

We will get the new worksheet once we click on the Run button.

Developer tab in excel Intro.3
Key Takeaways
  • The Developer tab in excel is hidden by default. One should enable it under a customized ribbon to use it.
  • The combo box is similar to the drop-down list in Excel. After choosing the input range of cells for the combo box, we need to choose the link cell to showcase which line item in the combo box has been selected.
  • XML structured data can be mapped and inserted into Excel.
  • After recording the macro, we can edit the code using the visual basic editor window.
  • Repositioning the Developer tab is possible using the up and down arrows in Customize the Ribbon… option.

How To Add/Enable Developer Tab In Excel?

The Developer tab in Excel, by default, is hidden. However, we can enable Developer Tab in excel ribbon using the below steps.

Step 1: First, go to the File tab.

File Tab

Step 2: Next, click on Options.

File Options

Step 3: The Excel Options window pops up. Click on Customize Ribbon.

Customize Tab2

Step 4: Then, check the Developer option under Main Tabs.

Developer Tab Options

Step 5: Click on OK.

Now we will be able to see the Developer tab.

Developer Tab

Likewise, we can add Developer Tab in excel.

As soon as we display Developer Tab in excel, we can use the four groups. But, first, we will look at a few examples to understand the features of the Developer tab in detail.

Record Macro: Using the record macro, we can record the tasks in an Excel workbook. We can use the recorded macro later if we want to do the same task regularly.

For instance, we have the following data table in an Excel spreadsheet.

Example 1

Assume that we have the simple task of inserting borders on both tables. Inserting borders into two tables is easy, but what if we have 100 tables to insert the border? It makes the task very difficult and time-consuming.

We will insert the border for the first table, and by simply recording the macro, we can repeat the process in just a click. We need to use the following steps to record a macro in excel.

Step 1: To begin with, select the cell range from A1:B7.

Developer tab in excel Example 1.1

Step 2: Go to the Developer tab and click the Use Relative References option.

Example 1.2

Step 3: Under the same Developer tab in excel, click on Record Macro now.

Example 1.3

Step 4: The Record Macro window opens up.

Here, we can give a name for the recorded macro. For this example, let us name it Formatting.

Example 1.4

Step 5: After entering the name, click OK. Now, Excel will record all our activities in this workbook.

Then, go to the Home tab and click on the drop-down list of borders. Now, choose All Borders.

Example 1.5

It will insert borders for the selected range of cells, i.e., A1:B7.

Developer tab in excel Example 1.6

Step 6: Once again, go to the Developer tab and click on Stop Recording.

Record VBA Marcos.7

Initially, this button was ‘Record Macro,’ but after we start recording, it will turn to ‘Stop Recording.’

Step 7: When we stop recording, Excel will no longer record the activities we do in Excel. Now select another table range from D1:E7.

Example 1.7

Step 8: Go to the Developer tab and click on the Macros option.

Developer tab in excel Example 1.8

Step 9: We can see all the created macros in our workbook.

Next, choose the recorded macro Formatting and then click on Run.

Developer tab in excel Example 1.9

When we click on the run, Excel will copy the formatting we have applied while recording the macro to the selected range of cells, i.e., D1:E7.

Example 1.10

We can select any range of cells and click on the run button, and it will apply the formatting of inserting borders for the selected cells.

In this way, we can automate the tasks in Excel using the macros option under the Developer tab in excel.

To view the code of the recorded macro, click on the Visual Basic option under the Developer tab in excel.

Example 1.11

It will open the visual basic editor window. Expand the Modules folder.

Example 1.11 - 1

It will show the list of modules. Now, double-click on Module 1 to view the code for the recorded macro.

Example 1.11 - 2

Note: Once the macro coding is used, we need to save the workbook as Macro-Enabled Workbook.

Add-Ins: Using add-ins, we can quickly add additional features to our Excel. Some of the additional built-in features like Analysis Toolpak, Analysis Toolpak VBA, and Solver Add-in can be activated quickly.

Under the Add-ins section, click on Excel Add-ins.

Developer tab in excel Example 2

It will appear on the list of add-ins available in our version of Excel.

Next, choose Solver Add-in and then click OK.

Example 2.1

Now, we can see the add-in under the Data tab.

Solver Option on Ribbon

In this way, we can quickly activate Excel add-ins.

Controls: It is the most commonly used feature under the Developer tab. We can also insert various controls under this tab.

For instance, we will create a combo box and learn how it works.

Go to the Developer tab and click on the drop-down list of the Insert option.

Example 3

We have two sections here, i.e., Form Controls and Active X Controls. Now, let us learn about Form Controls.

Choose Combo Box from the Form Controls option.

Example 3.1

Once we click on the combo box, we need to draw the combo box on the worksheet.

Example 3.2

A combo box is similar to the drop-down list we create in an Excel spreadsheet. To configure the combo box, first right-click on the inserted combo box and choose Format Control.

Developer tab in excel Example 3.3

The Format Control window opens up. By default, the Control tab is activated.

Example 3.4

For the Input Range, choose the cell range A2:A7.

Developer tab in excel Example 3.5

Likewise, for the Cell link, choose any of the empty cells.

Developer tab in excel Example 3.6

Click OK, and the combo box will show a drop-down list of values in the range A2:A7.

Example 3.7

Select any of the values from the combo box. We can see cell A9 displaying the number of items selected from the list.

Example 3.8

We have selected the month of April, and the linked cell K1 shows the number as 4, indicating the 4th value in the range of cells from A2:A7.

By using these control buttons, we can create interactive charts and dashboards.

XML: Extensible Markup Language is one of the data structures used extensively. However, the XML data structure might be confusing for beginners.

But, by using the XML command under the Developer tab, we can easily convert the XML data into table format.

For instance, we have the following XML data in notepad.

Developer tab in excel XML

We will import this data into Excel by using the XML feature under the Developer tab.

Step 1: To begin with, save the XML data in the system.

Step 2: Go to the Developer tab and click on the Source option.

Import.5

Step 3: The XML Source window pops up on the right side of the Excel worksheet. Click on XML Maps.

XML in Excel Import.6

Step 4: Now click the Add button in the XML Maps window.

XML in Excel Import.7

Step 5: Next, choose the XML file we saved in step 1.

XML.1

Step 6: Click on Open. It will open the first created XML map.

Developer tab in excel XML.2

Step 7: Then, click on OK again, and it will add the data set to the XML source, as shown in the following image.

Developer tab in excel XML.3

Step 8: Select all the columns in the above window.

Next, drag and drop them into the empty cells. It will create a table structure.

Developer tab in excel xml.4

Step 9: Once the table structure is created, select any of the cells in the newly inserted table. Go to the Developer tab in excel and click on the Import option.

Developer tab (Import)

Step 10: It will ask us to choose the file again. So, choose the file again from the saved folder.

XML.1

Step 11: Next, click Import, inserting the data into the mapped XML columns.

Developer tab in excel xml.5

In this way, we can make use of the Developer tab.

Move Developer Tab On The Ribbon

The moment we view Developer tab in excel using the steps discussed earlier, it will default appear as the last tab in the ribbon.

Developer Tab

However, we can still reposition the Developer tab to wherever we want on the ribbon. Right-click on the Developer tab and choose to Customize the Ribbon… option.

Ribbon in Excel Customize Tab1

Then, the Excel Options window pops up. Choose the Developer tab and click on the up or down arrows to reposition the Developer tab.

Move Developer tab in excel.1

Now, move the Developer tab to the position where we want.

Move Developer tab in excel.2

Click on OK, and the Developer tab will be organized accordingly.

Move Developer tab in excel.3

In this way, we can reposition the Developer tab with simple navigation.

Hide Developer Tab In Excel

If we want to remove the Developer tab from the ribbon at any point, we can do it with the following simple steps.

Right-click on the Developer tab and choose to Customize the Ribbon… option.

Ribbon in Excel Customize Tab1

The Excel Options window opens. Uncheck the Developer tab in excel and click on OK.

Developer tab in excel Hide

After unchecking the Developer tab in excel, click on OK. The Developer tab will get hidden from the ribbon.

How To Ensure Macro Security Using Developer Tab?

When we create or record a macro, we need to save the workbook in the Macro-Enabled Workbook file extension. However, with the default setting of Excel, when we open the workbook with macros, we will get the yellow security warning, as shown in the image below.

Developer tab in excel Security

Click on Enable Content, and Excel will ensure that the macros’ source file is protected.

The actual thing here is to enable security for Macros. We need to enable the macro in the background using the following steps.

Step 1: First, go to the File tab.

Step 2: Next, click on Options.

Step 3: Click Trust Center in the Excel Options window and Trust Center Settings.

Developer tab in excel Security 1

Step 4: Now, the Trust Center window pops up. Now, choose Macro Settings in this window.

Security 2

As we can see, by default, macros are disabled here.

Step 5: Next, choose the option Enable VBA macros (not recommended; potentially dangerous code can run).

Step 6: Click OK in the next windows, and macros will start working fine now.

Important Things To Note

  • When we record a macro and we need to save the Excel workbook with the Macro-Enabled Workbook extension, it will give the file extension as ‘xlsm’ instead of the regular ‘xlsx.’
  • Use Reference should be selected while recording the macro. The same reference will also be used for other selected cells to perform the same activity.
  • ALT + F11 is the shortcut key to using the Visual Basic Editor.
  • Macro security should be enabled to use Macros in Excel.

Frequently Asked Questions (FAQs)

Where is the Developer tab in Excel?


The Developer tab is not enabled by default. We need to enable it by selecting File > Options > Customize the Ribbon…

Check the Developer option.

Developer Tab Options

Click OK, and we can see the Developer tab in the ribbon.

What is the use of the Developer tab in Excel?

The Developer tab offers a variety of features like macros recording for automation of tasks, enabling add-ins quickly, inserting interactive controls, and mapping XML file data.

Why is my developer tab not showing in Excel?

The Developer tab might not be visible initially because the tab is not enabled by default. However, we need to enable it to use the features.

How to use the developer tab in Excel?

By using the Developer tab, we can insert various control buttons. For example, the following are the steps to insert and configure the check box.

Step 1: Go to the Developer tab and click on the Insert option’s drop-down arrow.

Example 3

Step 2: Next, choose the Check Box under the Form Controls group.

FAQ 1

Step 3: Draw this on the worksheet after choosing the check box.

FAQ 1.1

Step 4: Right-click the check box and choose Format Control… option.

FAQ 1.2

Step 5: In the Format Control window, choose the Checked option and give the cell reference as cell A9.

FAQ 1.3

Click on OK.

Now, whenever we select the check box, it will show TRUE in cell A9, or else it will show FALSE in cell A9.

FAQ 1.4

Download Template

This article must be helpful to understand the Developer Tab In Excel, with its formula and examples. You can download the template here to use it instantly.

This has been a guide to What is Developer Tab In Excel. We explain how to add, move, and hide it, ensure macro security, and a downloadable excel template. You can learn more from the following articles – 

Reader Interactions

Leave a Reply

Your email address will not be published.