Skip to Content
Excel Cookbook
book

Excel Cookbook

by Dawn Griffiths
May 2024
Intermediate to advanced
592 pages
13h 44m
English
O'Reilly Media, Inc.
Content preview from Excel Cookbook

Chapter 18. Developer Tools: Macros, VBA, Controls, and XML

Excel’s Developer tab contains advanced features you can use to customize and automate Excel. For example, you can automate routine or repetitive tasks, create custom functions, and use controls to develop Excel-based applications.

The recipes in this chapter demonstrate how to use these features and include the following areas:

  • Recording and running macros, including using absolute and relative references

  • Writing VBA code—Excel’s built-in programming language—to define macros and custom functions and work with events

  • Using the personal macro workbook and Excel add-ins to share custom functions and procedures

  • Using Form controls, ActiveX controls, and UserForms to create dynamic user interfaces* Importing and exporting XML by mapping XML elements to Excel cells and table columns

18.1 Showing the Developer Tab

Problem

You want to use developer options such as form controls and macros but don’t know where to find them.

Solution

The Excel Developer tab includes options for working with controls, macros, and VBA. Excel hides this tab by default.

To show the Developer tab, use Recipe 1.19 to customize the ribbon, placing a check against the Developer option in the Customize the Ribbon’s Main Tabs section.

Discussion

This recipe shows how to enable the ribbon’s Developer tab. You’ll need this tab for every feature described in this chapter, including using macros, VBA, Form and ActiveX controls, and UserForms. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Excel 2021/365 - Beginner to Advanced

Microsoft Excel 2021/365 - Beginner to Advanced

Simon Sez IT
Microsoft Excel 365 Bible

Microsoft Excel 365 Bible

Michael Alexander, Dick Kusleika
Excel 2019 Bible

Excel 2019 Bible

Michael Alexander, Richard Kusleika, John Walkenbach

Publisher Resources

ISBN: 9781098143312Errata PageSupplemental Content