Reader small image

You're reading from  Exploring Microsoft Excel’s Hidden Treasures

Product typeBook
Published inSep 2022
PublisherPackt
ISBN-139781803243948
Edition1st Edition
Tools
Right arrow
Author (1)
David Ringstrom
David Ringstrom
author image
David Ringstrom

David Ringstrom exclaimed “Well, this is a stupid program, you can’t do anything with it” the first time that he launched Lotus 1-2-3 in 1987, unaware that pressing the slash key displayed the menu. That moment sealed his fate as he is now a nationally recognized spreadsheet expert. In 1991, David started a spreadsheet consulting practice that he still runs today. David has taught over 2,000 webinars and published hundreds of articles, all on Excel, and he imparts spreadsheet skills to thousands of college students each year. He is the author or coauthor of five books and the technical editor of over 40 books. He is a certified public accountant and a graduate of Georgia State University and has served in the United States Navy.
Read more about David Ringstrom

Right arrow

Creating shortcuts for Excel macros

Excel macros are programming code written in Visual Basic for Applications (VBA). This is a programming language that can automate repetitive tasks in Excel. I could devote a whole book to exploring the concept of macros, but I only have a small amount of space available. Allow me to share a technique that uses Excel’s Macro Recorder to change the cell color of one or more cells to yellow, which we’ll then tie to a Quick Access Toolbar icon. Let’s begin:

  1. Select cell A1 of a blank worksheet.
  2. Choose View | Macros | Record Macro….
  3. Assign a name, such as YellowHighlight, in the Macro Name field of the Record Macro dialog box, as shown in Figure 3.13:

Figure 3.13 – Macro Recorder

Nuance

You cannot use spaces or punctuation when naming Excel macros. The first character of a macro name must be a letter or underscore. You can use numbers in the second position and beyond....

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Exploring Microsoft Excel’s Hidden Treasures
Published in: Sep 2022Publisher: PacktISBN-13: 9781803243948

Author (1)

author image
David Ringstrom

David Ringstrom exclaimed “Well, this is a stupid program, you can’t do anything with it” the first time that he launched Lotus 1-2-3 in 1987, unaware that pressing the slash key displayed the menu. That moment sealed his fate as he is now a nationally recognized spreadsheet expert. In 1991, David started a spreadsheet consulting practice that he still runs today. David has taught over 2,000 webinars and published hundreds of articles, all on Excel, and he imparts spreadsheet skills to thousands of college students each year. He is the author or coauthor of five books and the technical editor of over 40 books. He is a certified public accountant and a graduate of Georgia State University and has served in the United States Navy.
Read more about David Ringstrom