The Ultimate Workbook Pack Is Finally Here — My Biggest Workbook Collection Ever!

550+ Excel Templates, Applications & VBA Trainings — Now with the NEW Workbook Library App.

The Ultimate Workbook Pack Is Finally Here — My Biggest Workbook Collection Ever!

The Excel Productivity Suite ribbon tab inside Microsoft Excel

New Product8 Tools · 1 Ribbon Tab

The Excel Productivity Suite is here.

Get This Add-In Now

Build A Modern Excel VBA Menu With Hover Effects (Step-by-Step)

Transform Your Excel Projects With A Modern VBA Userform Menu

Is your Excel project stuck in the 1980s? Default Excel UserForms are functional, but they often lack the professional polish required for modern business applications. In this VBA training, I’ll show you how to build a beautiful, high-performance menu system using Excel VBA, complete with hover effects and seamless navigation.

Why UI Design Matters in Excel

Most users interact with Excel through standard spreadsheets, but when you build a tool for others, the user interface (UI) is their first impression. A modern, intuitive menu doesn’t just look better; it improves usability and reduces user error. By using custom graphics and simple VBA logic, you can transform a boring data tool into a professional software experience.

Designing the Assets

Before touching a line of code, the foundation of a modern menu lies in its visual assets. For this project, we utilize tools like Pixlr to create three distinct states for every button:

  • Regular State: The default look of the button.
  • Hover State: A slightly highlighted version (e.g., adding a purple border) to signal interactivity.
  • Selected State: A distinct look (e.g., a blue-to-purple gradient) that indicates which section is currently active.

Pro Tip: Always save these assets as JPEGs rather than PNGs when working with VBA UserForms to ensure background colors match perfectly and avoid transparency glitches.

Setting Up the UserForm

Once your graphics are ready, it’s time to head into the Developer Tab and launch the Visual Basic Editor (Alt + F11). We start by creating a new UserForm and setting its background color to a sleek dark mode black.

We then layer an Image control for the sidebar background and separate Image controls for each button state. The secret to the ‘Modern’ look is the layering of these images and toggling their visibility based on user actions.

The VBA Logic: Hover and Click

The magic happens in two primary events: MouseMove and MouseDown.

  1. The Hover Effect

By using the MouseMove event on the regular button, we can set the hover-state image to Visible = True. To ensure the hover effect disappears when the mouse leaves, we apply a ‘Hide All’ macro to the background frame of the menu. This creates a responsive, high-end feel.

  • The Selection Logic

When a user clicks (MouseDown), we hide all hover states and all previous selections, then display the ‘Selected’ version of the clicked button. Simultaneously, we toggle the visibility of different Frames. Each Frame acts as a separate page within your application—one for ‘Overview’, one for ‘Projects’, and so on.

Enhancing User Experience

To make the tool even more powerful, we set the ShowModal property of the UserForm to False. This allows users to keep the menu open while still interacting with the actual spreadsheet cells behind it. Finally, we create a simple module with a ‘ShowUserForm’ macro and assign it to a styled button on the worksheet for easy access.

Conclusion

Building a professional UI in Excel doesn’t require years of coding experience. By focusing on clean design assets and utilizing basic VBA event triggers, you can create a menu system that rivals standalone software. Start implementing these modern design principles today and take your Excel dashboards to the next level!

RELATED TRAININGS

Looking for more resources?

Use the search bar below or explore the Related Trainings above for more content tailored to your interests!

Expand Your Knowledge

Excel AI Toolpack Add-In

Combines 12 incredible AI tools into one seamless package. Revolutionize your productivity by effortlessly fixing formula errors, extracting data, analyzing dashboards in a single click, and receiving instant AI responses. No API required—just the untapped potential of AI enhancing Excel.

Consists of 1000 resources, ensuring it's the only Excel reference you'll ever need. The guide is organized into 10 tabs, each containing 100 resources that are easily sortable and filterable, making it effortless to find the tools you're looking for.

ULTIMATE FREELANCERS
RESOURCE GUIDE

Packed with essential tools and templates, this comprehensive guide is your one-stop-shop for all things freelancing. With 1,000 live links and a single click-to-update feature, you'll always have access to the latest freelancing resources.

THE FREELANCER'S ACADEMY MASTERCLASS

Master the art of negotiation for higher rates, elevate your portfolio, and achieve financial independence through monetizing your expertise. Acquire the essential strategies and tools to launch and grow your freelance business successfully.

An exclusive collection of refined Excel workbooks, each enhanced with advanced tools and features, and designed to streamline your workflow.

EXCEL FOR FREELANCERS MENTORSHIP PROGRAM

Unlock your path to financial freedom with our Mentorship Program. Gain the skills and confidence to create your own Excel-based applications, paving the way for a sustainable passive income stream. Join us and transform your aspirations into reality.

The Ultimate CRM Application gives you a powerful, organized system inside Excel to track leads, manage follow-ups, monitor your pipeline, and stay on top of every opportunity — all in one place. No more scattered notes or missed deals. You’ll save hours each week, gain total clarity over your sales process, and operate with the confidence of a true professional while moving prospects smoothly from first contact to closed deal.

Picture of Randy Austin

Randy Austin

Randy Austin is a 7x MVP and a Global Excel Awards Winner, with 30 years of experience in Excel solutions. His YouTube videos have garnered over 40+ million views, with over 500 trainings and templates, empowering users with practical Excel development techniques and templates.

Go beyond the public content and tap into a private library of in-depth trainings, cutting-edge AI tools, exclusive resources, and ready-to-use systems designed to help you work smarter and faster.

Get 450+ done-for-you Excel templates, plus 117+ VBA trainings, all organized in one searchable library. Every workbook includes tutorials, PDF codebooks, and built-in custom GPT support—so you can find, customize, and start using proven Excel solutions without rebuilding from scratch.

New Product

STOP LOSING WORK IN EXCEL. GET 8 TOOLS IN ONE RIBBON TAB.

Auto-save with real version history, team sync, per-person access control, a pop-up date and time picker, import manager, link finder and file manager. The Excel Productivity Suite installs into Excel itself, so every tool is right there in every workbook you open.

Join My Elite Membership for Exclusive Resources & Training Updates!

Unlock the private side of Excel For Freelancers with premium trainings, AI tools, exclusive resources, and practical systems not available publicly.

1,000 verified AI resources — all in one Excel-based guide. Explore tools, courses, experts, and communities across 10 categories, all curated and organized so you can skip the noise and focus on what actually helps you grow. Sort, filter, and learn faster with a built-in Expert GPT assistant — your shortcut to mastering AI without wasting time searching.

Turn Your Excel Vision into Reality!

Need a custom Excel VBA solution? My expert developers build powerful automation—dashboards, data processing, reporting, and more. Save time and boost efficiency with a tailored solution!

Master the Web with Excel VBA

Tired of wasting time on repetitive online tasks? With Complete Web Automation with Excel VBA, you’ll discover how to turn tedious web browsing, form-filling, and data collection into fully automated processes—all directly from Excel. Imagine logging in, scraping data, filling forms, or even handling pop-ups in seconds instead of hours. This course equips you with the tools to work smarter, not harder—so you can save valuable time, boost your productivity, and gain confidence in automating tasks like a pro.

Stop creating videos no one is searching for.

The best video idea isn't always the one in your head. Sometimes the best idea is the one thousands of people are already searching for. VidIQ helps me find those opportunities before I spend hours making a video. Definitely one of the tools I use the most.

DOWNLOAD YOUR FREE WORKBOOK

Kindly avoid using Hotmail, outlook.com, or live.com email addresses, as they may incorrectly mark our emails as spam, resulting in delivery issues for your workbook.

It's Great to see you!

Login or Create an Account if you still don't have one...