VBA: Building User Interfaces with Forms in VBA & Excel
Create complex Excel user interfaces with VBA. Learn form validation, complex controls usage, and secure email sending via VBA.
Skill level
IntermediateTime to complete
Approx. 1 hourCertificate of completion
Yes
About this course
One of the many capabilities of Excel's VBA is building complex user interfaces within Excel. Part of this is the creation of complex forms for gathering input data. In this course, you'll learn how to create user forms using VBA in Excel and, in doing so, achieve user interfaces with complex controls like combo boxes and spinners. You'll also learn how to send emails from VBA while being mindful of security risks and the configuration required if the email provider is Gmail. You'll learn how to validate form input data, insert it into an Excel spreadsheet, and illustrate how such user input can be accepted using complex controls, such as radio buttons and checkboxes, and buttons that, when clicked, trigger the invocation of VBA subroutines.
Learning objectives
- Discover the key concepts covered in this course
- Introduce user forms as a way to add complex uis to an excel workbook and use the vba forms control toolbox to add elements, such as buttons, to a user form
- Wire up a button to vba code so that whenever that button is clicked a message is displayed, design a fully-fledged user form to accept complex user input using input boxes, and configure buttons to submit or reset that user input
How it works
Expert-led videos
In this course, you'll watch videos created by industry-leading experts for some of the biggest tech companies in the world. They'll cover key concepts, go through sample applications, prepare you for industry certifications, and more. Watch on any device — whenever and wherever you want — to learn at your own pace. Reviews from learners
- Very well put together as usual. I learn so much from each experience with Codecademy. I can't explain how satisfied I am with this institution.David WVerified Learner
- Everything Codecademy offers is useful for all software developers.Fidan MVerified Learner
- I thought that I would never be able to learn to code but Codecademy has made it very easy. I just love it!Adyan HVerified Learner
Our learners work at
How To Tell If You’re “Proficient In Excel” & How To Get Better


Seeing “proficient in Microsoft Excel” listed on a job description can be confusing, even if you regularly use the Microsoft spreadsheet software. Considering the vast uses for Excel, how can you tell if you’re truly “proficient” enough to be considered for a role?
For starters, read the job description closely. If Excel proficiency is listed as a “required” technical skill, then it’s safe to assume it’s an Excel-heavy role with little room to fake it or learn on the job. But if the job description categorizes it as a “preferred” or “desired” skill, then you might be more qualified than you think.
Join over 50 million learners and start VBA: Building User Interfaces with Forms in VBA & Excel today!
StartLooking for something else?
Related courses and paths
- Free course
VBA: Getting Started with VBA in Excel
Leverage Excel's VBA tool for operations, macros, and debugging. Learn to format cells, manage sheets, and utilize FormatConditions object.Beginner Friendly2 hours - Free course
VBA: Leveraging VBA to Work with Charts, Stocks, & MS Access
Master VBA in Excel for pivot tables, charts, and financial data. Learn to automate tasks in MS Access, run SQL queries, and set up event handlers.Advanced2 hours - Free course
Learn HTML: Forms
Learn how to create HTML forms with various input fields to collect and validate user data.Beginner Friendly2 hours
Browse more topics
- Data analytics2,699,556 learners enrolled
- Code foundations7,776,130 learners enrolled
- Computer science6,240,099 learners enrolled
- Web development5,211,612 learners enrolled
- Data science4,745,885 learners enrolled
- Python3,830,076 learners enrolled
- For business3,609,013 learners enrolled
- JavaScript2,976,651 learners enrolled
- IT2,655,728 learners enrolled
Unlock additional features with a paid plan
Portfolio projects
Create professional projects you can share with recruiters to showcase your skills and experience.Job-readiness checker
Evaluate how well you meet the requirements for any job description based on your skills and experience.Certificate of completion
Earn a document you can share with your network to prove that you’ve completed this course.