I built my own Excel toolbar using basic VBA, and it works in every spreadsheet I open


Annoyingly, many of the tools I use most in Excel aren’t available as single-step commands in the ribbon or Quick Access Toolbar (QAT). That’s why I built a personalized command layer that works in every XLSX file I open, turning repetitive actions into instant, reusable shortcuts.

Everything runs through your Personal Macro Workbook

Think of PERSONAL.XLSB as your private Excel toolkit

The word “macro” often makes Excel users uneasy—and rightly so, since they can be used to hide malicious scripts. But in this workflow, you’re not dealing with a downloaded file or anything external. Instead, you’re using a local Excel feature that stores your tools separately from your spreadsheets, keeping your files clean and shareable. It opens as a hidden workbook whenever Excel starts, so your macros are available even in standard XLSX files.

To get this environment set up, you first need to force Excel to create the file:

  1. Open a blank Excel workbook, then open the View tab.
  2. Click the Macros down arrow, then select Record Macro from the menu.
  3. In the dialog, set Store macro in to Personal Macro Workbook, then click OK.
  4. Click the square Stop Recording button in the bottom-left status bar.

Next, open this workbook in the VBA Editor to add your tools. This is a one-time setup that creates the specific container for your shortcuts:

  1. Press Alt+F11 to open the VBA Editor, and in the Project window on the left, locate VBAProject (PERSONAL.XLSB).
  2. Right-click VBAProject (PERSONAL.XLSB), hover over Insert, and click Module.

With the setup complete, it’s time to start adding tools.

OS

Windows, macOS, iPhone, iPad, Android

Free trial

1 month

Microsoft 365 includes access to Office apps like Word, Excel, and PowerPoint on up to five devices, 1 TB of OneDrive storage, and more.


Four Excel shortcuts I use in real workflows

Small fixes that save me dozens of clicks every day

The following basic macros are quality-of-life tools that make common but buried actions available with a single click.

Copy each macro into the same module under VBAProject (PERSONAL.XLSB), making sure each one starts on a new line and has its own complete End Sub. This keeps each macro as a standalone procedure in the Editor, which also helps Excel visually separate them in the module window.

A blank module in PERSONAL.XLSB in the Excel VBA window.

Here’s how the module should look after you’ve added all four:

The PERSONAL.XLSB module window in Excel, with four macros entered, separated by a horizontal rule.

When you’re done, press Ctrl+S in the Editor to save the Personal Macro Workbook, then close the VBA window.

Center your data without merging

The first thing I fixed was Excel’s annoying alignment workflow. When you merge cells, Excel loses the ability to sort and filter columns independently, but Center Across Selection gives you the exact same clean visual layout without actually fusing the cells together. Because the alignment feature is buried inside the Format Cells menu, a macro is the only way to get one-click access.

Paste this into your Personal Macro Workbook module:

Sub CenterAcrossSelection()
    With Selection
        .HorizontalAlignment = xlCenterAcrossSelection
    End With
End Sub

Insert a static timestamp instead of using volatile formulas

Excel’s =TODAY() or =NOW() functions don’t work well with real-world data logs, as they recalculate and change their values every time you open, calculate, or save the spreadsheet.

To keep an accurate ledger, you can create a static timestamp macro that locks in the exact day you did the work:

Sub InsertStaticDate()
   ActiveCell.Value = Date
   ActiveCell.NumberFormat = "yyyy-mm-dd"
End Sub

If you need both date and time, replace “Date” with Now in the VBA code, and update the format string to “yyyy-mm-dd hh:mm”.

Turn messy numbers into readable visuals

I use this one constantly because large tables become unreadable without visual cues for gains, losses, and empty values.

This macro applies a custom format that highlights positive values in blue (the green font is too bright to read clearly) and negative values in red with parentheses, and it also replaces zeros with a simple dash. For example, 50,000 turns blue, -50,000 turns red with parentheses, and 0 changes to a -.

Sub ApplyCustomNumberFormat()
   Selection.NumberFormat = "[Blue]#,##0;[Red](#,##0);-"
End Sub

You can swap out the number format string depending on the type of data you’re working with:

Macro Type

Examples

Number Format String

Data-entry friendly IDs

1 → 000001

Selection.NumberFormat = “000000”

Compact thousands (one decimal place, negatives in parentheses, zero as dash)

1,000 → 1.0K

-1,000 → (1.0K)

0 → –

Selection.NumberFormat = “#,##0.0,””K””;(#,##0.0,””K””);-“

Compact millions (one decimal place, negatives in parentheses, zero as dash)

1,000,000 → 1.0M

-1,000,000 → (1.0M)

0 → –

Selection.NumberFormat = “0.0,,””M””;(0.0,,””M””);-“

Percentages with colors

20.5% → 20.5% (blue)

-20.5% → 20.5% (red)

Selection.NumberFormat = “[Blue] 0.0%;[Red] 0.0%;0.0%”

Jump to the bottom of the current column

One of my biggest Excel frustrations is that Ctrl+Down Arrow only works reliably when datasets have no gaps.

This macro solves the problem by starting from the very bottom of the sheet and finding the last used cell in the active column, placing your cursor exactly one row below it:

Sub JumpToBottomRow()
   Cells(Rows.Count, ActiveCell.Column).End(xlUp).Offset(1, 0).Select
End Sub

Press Ctrl+S in the VBA Editor, then close the window.

Your macros aren’t useful until they’re one click away

Turning scripts into toolbar buttons

Writing the macros is only half the process. To make them genuinely useful, add them to the QAT so they’re always one click away:

  1. Right-click anywhere on the Excel ribbon, and if you see Show Quick Access Toolbar, click it. If you don’t see this option, it’s already activated.
  2. Click the small down arrow on the right side of your QAT, then select More Commands.
  3. In the left-hand drop-down menu, select Macros.
  4. Select your newly created personal macros in the left column and click Add to move them into your toolbar window.
  5. Select an added macro in the right column, click Modify, and choose a suitable icon from the gallery.

When you close the dialog boxes, you’ll see your new buttons in your QAT, and you can start using them right away.

You can edit or remove any shortcut at any time

Nothing here is permanent

Since the VBA shortcuts live inside your Personal Macro Workbook, you can edit or delete them anytime as your workflow changes:

  1. Press Alt+F11 to open the VBA Editor.
  2. Double-click the module under PERSONAL.XLSB that contains your macros to open it.

Then you can edit the code directly in the module window, including clearing one or more of the four macros you added earlier. Alternatively, if you no longer want to use those macros at all, right-click the module and select Remove. When you’re done, press Ctrl+S and close the VBA window.

Removing a macro doesn’t automatically clear it from your QAT, however, so you have to remove it manually by right-clicking the icon and selecting Remove from Quick Access Toolbar.

A custom QAT icon in Excel is selected via a right-click, and Remove from Quick Access Toolbar is highlighted.


VBA isn’t the only way to customize Excel

This setup has completely changed how I work inside Excel. By turning multistep tasks into dedicated toolbar buttons, I spend less time hunting through menus and more time working with my data.

VBA is particularly useful for workflows that Excel doesn’t expose as easy-to-access commands. But not every improvement requires code. If you want to personalize Excel using built-in features, you can create custom ribbon tabs and groups. It’s a great way to surface your favorite commands and build a workspace that better matches how you work.



Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews


When the original Range Rover debuted in 1970, it introduced something the automotive world had not quite seen before: a vehicle as capable on a muddy trail as it was parked outside a five-star hotel. That unique combination of rugged capability and refined luxury few, if any, SUVs can pull off today. Yet, Land Rover has been doing it for five decades.

The current fifth-generation model, which arrived for 2022, extended that tradition with a cabin that let the quality of its materials speak for itself.

Now, the 2027 Audi Q9 is preparing to challenge it.

The Q9 makes its world debut on July 28th and is Audi’s first true full-size flagship SUV. While the exterior remains under wraps, Audi recently opened the doors for a first look at the interior. What’s inside reveals two very different philosophies about where traditional luxury is headed. Audi is betting on screens, sensors, and immersive technology, while Range Rover, in a notable move for 2027, is bringing physical knobs and controls back to the center console.

One brand is leaning forward. The other is going for a hint of nostalgia. Here is how they stack up.

Two cabins, unique two philosophies

Small details for discerning buyers

The Range Rover has long built its interior reputation on what it leaves out as much as what it puts in.

The current model is characterized by a clean and streamlined dashboard with minimal distractions. Premium materials include Windsor leather on the SE, semi-aniline leather on the SV, and sustainably sourced wood veneers across the lineup.

For 2027, the physical volume knob and Terrain Response selector are returning to the center console, reversing a decision made for the 2024 model year that moved those controls to the touchscreen. It is a small detail that some discerning buyers will appreciate. Although every new vehicle today has a touchscreen of some kind, the allure of a large screen has its limits.

Audi takes the opposite position with the Q9. The cabin moves away from the fingerprint-prone piano-black trim of earlier models, introducing matte and textured finishes alongside new materials. Q9 buyers will find Dinamica microfiber, Nappa leather, fine-grain ash inlays, and a carbon fiber weave with basalt gray accents. New colors, including Tamarind Brown and Stone Beige, complete the palette.


Audi Q9


Audi’s Q9 challenges the Mercedes GLS with 4D audio and a digital cabin for 10K less

The primary difference between these two flagship SUVs lies in their digital architecture.

Digital Stage vs. Pivi Pro

Three displays or one interface

Audi’s Digital Stage includes three displays across the Q9’s dashboard. The primary OLED touchscreen is front and center, while a driver’s instrument cluster is tucked just beyond the steering wheel.

The third screen is separate for passengers and sure to be enjoyed on long road trips by whoever is sitting there. Front-seat passengers can stream content from their own queue, whether that’s a YouTube video, a show on Netflix, or a podcast playlist, without interfering with anything on the driver’s side.

Range Rover’s Pivi Pro system uses a 13.1-inch central touchscreen as its primary interface, paired with a 12-inch interactive driver display. The system is quick, organized, and accessible within two taps from the home screen. There is no dedicated front passenger display, though 11.4-inch rear seat entertainment screens are available on the Autobiography trim and above.

The dedicated passenger screen may give the Audi Q9 an edge over the Range Rover and other competitors like the Lexus LX, which also does not offer a separate infotainment screen. However, both the Lexus LX and Range Rover offer rear-seat entertainment.

The Mercedes-Benz GLS and Cadillac Escalade, other prime competitors to the Audi Q9, also offer a rear-seat entertainment system, in addition to the separate passenger screen.

At the time of this writing, Audi has not confirmed the availability of a rear seat entertainment system for the Q9. Given the nature of its competitors, however, it seems in Audi’s best interest to include it as an option.

And finally, the return of physical knobs to the Range Rover for 2027 is the sharpest contrast to the Q9’s all-screen approach. Audi is presenting a cabin where most functions require screen interaction. Range Rover, after trying the same approach, concluded its buyers prefer not to hunt through sub-menus for simple volume and terrain controls.


Audi Q9


Audi’s Q9 aims to replace the Cadillac Escalade as the new standard of tech luxury

Audi enthusiasts may bristle. Cadillac loyalists might feel the same. But nonetheless, here we are.

Sound systems and the sensory experience

Meridian versus Bang & Olufsen 4D

The Bang & Olufsen 4D sound system in the Q9 includes physical actuators built into the front seats so occupants can feel low-end frequencies, not just hear them. Audi’s Dynamic Interaction Light, an LED strip at the base of the windshield, syncs its color and rhythm to the music, with the color scheme matched to the track’s cover art. Headrest speakers route phone calls and navigation prompts privately to the driver.

Range Rover has a bespoke Meridian Signature Sound System, standard on the Autobiography and above, tuned specifically to the cabin’s acoustics. The SV and SV Ultra models offer a more advanced Meridian configuration, albeit without the seat actuator sensations.

Meanwhile, the Audi Q9 has a seven-seat layout as standard, with an optional six-seat configuration with power-adjustable captain’s chairs in the second row. The outer second-row seat slides and tilts forward to ease third-row access without removing child car seats. Audi also introduces an aluminum rail system in the trunk for securing cargo in three dimensions, and includes roof-rail crossbars as standard.

Range Rover’s Long Wheelbase seven-seat layout has been available since the current generation launched, with semi-aniline heated leather across all three rows as standard on the LWB SE. The Autobiography and SV trims add the aforementioned rear seat entertainment screens, a front-center console refrigerator, and four-zone climate control.

Uniden R8 Transparent Background

Display Type

OLED

Radar Band Detection

X, K, Ka

The Uniden R8 is a dual-antenna radar detector with directional arrows, known for its long-range detection and false alert filtering capabilities. Comes preloaded with red light and speed camera locations and supports firmware updates for ongoing performance enhancements.  


Electric doors and adaptive headlights

Where the Q9 pulls ahead

Three Q9 features have no direct equivalent in the current Range Rover.

All four doors on the Q9 open electronically at the push of a button, up to 90 degrees, with sensors that detect approaching cyclists. Drivers close them by pressing the brake pedal or fastening their seatbelt. Range Rover offers power doors on the SV trims, but Audi makes them standard across the entire Q9 lineup.

The Q9’s panoramic sunroof spans approximately 16 square feet and uses nine individually controllable glass segments that dim electronically. An optional LED package adds 84 lights inside the roof in up to 30 colors, matched to the cabin’s ambient lighting.

The Q9 also brings Digital Matrix LED headlights to U.S. customers for the first time. Using front-facing cameras, the system detects oncoming traffic and selectively masks the light around those vehicles, keeping maximum illumination everywhere else on the road.

According to a recent AAA survey, six in ten U.S. drivers struggle with headlight glare. Range Rover’s Pixel LED headlights, standard on the Autobiography and above, are excellent, but Audi’s matrix approach represents a meaningful step forward in lighting technology for U.S. buyers.


2027 Audi Q9 coming soon

The 2027 Range Rover SE starts at $113,300, with the Autobiography beginning at $159,200. The SV lineup starts at $219,500 and climbs to $275,000 for the Long Wheelbase SV Ultra.

The 2027 Audi Q9 is expected to start around $80,000, with higher trims landing between $90,000 and $95,000.

Audi will reveal the full Q9 details on July 28th, with North American deliveries expected as early as November.



Source link