Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Exploring Microsoft Excel's Hidden Treasures

You're reading from   Exploring Microsoft Excel's Hidden Treasures Turbocharge your Excel proficiency with expert tips, automation techniques, and overlooked features

Arrow left icon
Product type Paperback
Published in Sep 2022
Publisher Packt
ISBN-13 9781803243948
Length 444 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
David Ringstrom David Ringstrom
Author Profile Icon David Ringstrom
David Ringstrom
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Part 1: Improving Accessibility
2. Chapter 1: Implementing Accessibility FREE CHAPTER 3. Chapter 2: Disaster Recovery and File-Related Prompts 4. Chapter 3: Quick Access Toolbar Treasures 5. Chapter 4: Conditional Formatting 6. Part 2:Spreadsheet Interactivity and Automation
7. Chapter 5: Data Validation and Form Controls 8. Chapter 6: What-If Analysis 9. Chapter 7: Automating Tasks with the Table Feature 10. Chapter 8: Custom Views 11. Chapter 9: Excel Quirks and Nuances 12. Part 3: Data Analysis
13. Chapter 10: Lookup and Dynamic Array Functions 14. Chapter 11: Names, LET, and LAMBDA 15. Chapter 12: Power Query 16. Index 17. Other Books You May Enjoy

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime