Your Microsoft Technology Development and Consulting Experts - Operating since 2000
Author: Daniel Thomas
Reading time: 7min
If you've been using Excel for years, you know that keyboard shortcuts are a game-changer. But did you know you can create your own shortcuts to automate repetitive tasks using macros? With just a few clicks, you can assign keyboard shortcuts to common workflows and supercharge your productivity.
Below are 10 custom Excel macros, each with a real-world use case and a suggested keyboard shortcut you can assign.
You can also fine-tune or write macros directly in the Visual Basic Editor β just press Fn + Option + F11 on Mac or Alt + F11 on Windows. Once you're comfortable in the editor, you can go beyond simple recordings and start crafting smarter, more dynamic automations. And when you pair those macros with custom keyboard shortcuts, you unlock an incredibly efficient way to execute repetitive tasks with a single keystroke.
With a bit of creativity, this combination doesn't just save time β it can streamline your entire workflow, reduce errors, and bring real polish to the way you work in Excel. In this article, I'll share commonly used shortcuts along with their macro code β but keep in mind, the practical applications are virtually endless.
Use Case: When working with large data tables β like transaction logs or audit sheets β it's easy to lose sight of the row you're analysing. This shortcut quickly highlights the active row so you can focus visually and return to it after scrolling elsewhere. It's particularly helpful during meetings, screen shares, or when comparing records line by line.
Use Case: Imagine you're reviewing a heavily filtered sales report. You're not sure which columns have filters applied, but your data looks incomplete. Instead of hunting through each column filter menu, this shortcut instantly restores the full dataset. It's also great during troubleshooting when users say, βSome rows are missing.β
Use Case: You have just finished preparing financial forecasts with complex formulas referencing external files. Before sending the sheet to a client or saving for archival, you want to convert everything to static values to avoid reference errors. Select the range, hit the shortcut, and done. No paste special needed.
Use Case: Great for task tracking, approval logs, and QA checklists. Every time you update or review a row of data, use this shortcut to insert the exact date and time. It creates a transparent, time-stamped audit trail β no need to type anything manually or remember formulas like =NOW().
Use Case: Working with structured data? Excel Tables come with built-in filter buttons, dynamic ranges for formulas, and visual styling. Instead of navigating through the ribbon to apply table formatting, this shortcut converts any selected range into a proper table β especially handy when preparing reports for clients or managers.
Use Case: You receive a spreadsheet from another department, and it's full of merged cells that break sorting, filtering, and formulas. One press of this shortcut instantly clears all merged formatting so you can reshape the data into something usable. It's a lifesaver for data cleanup and importing into databases or Power BI.
Use Case: You've just copied data from different sources, and now your worksheet is a visual mess β different fonts, sizes, and formatting. This shortcut standardises everything to a clean, readable style. Ideal for preparing deliverables, consolidating data, or simply making your workbook look professional.
Use Case: Whenever data is imported or pasted in, columns are often too narrow (cutting off content) or too wide. This shortcut instantly resizes all columns to fit their contents β no need to double-click column headers one by one. Great for polishing spreadsheets before sharing or printing.
Use Case: In a growing list β like inventory, sales, or time logs β it's often necessary to jump directly to the last row to add a new entry or review the latest one. This shortcut skips the scroll and lands you exactly where the action is happening.
Use Case: Before running risky changes (like mass find-and-replace or data transformations), use this shortcut to instantly create a backup version of your file with the current timestamp. It's an insurance policy that takes less than a second. Also helpful for keeping periodic snapshots of work during long projects.
To use your macros in any workbook, save them in the Personal Macro Workbook. Excel will automatically load them every time you open Excel.
Creating your own shortcuts with macros is like unlocking a secret level in Excel. What might take five or six clicks β repeated dozens of times a day β can be reduced to a single keystroke. These automations are invaluable for professionals who work with large volumes of data or follow strict reporting workflows β from analysts and accountants to consultants and operations managers.
The beauty of combining macros with shortcuts is that it scales with your needs. Start small with one or two time-savers, then gradually create a toolkit of personalised automations tailored to your role and your team. Over time, it becomes second nature β and you'll wonder how you ever worked without them.
Daniel is a developer at Excel Experts, a curious mind into the world of programming, design and SEO. If you have any questions, please feel free to get in contact via the form below.
Copyright Β© 2024. Brayalei Pty Ltd T/As Office Experts Group. ABN 32 093 067 737. ACN 093 067 737. All Rights Reserved.