When you enroll in this course, you'll also be enrolled in this Specialization.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There are 6 modules in this course
"Excel/VBA for Creative Problem Solving, Part 1" is aimed at learners who are seeking to augment, expand, optimize, and increase the efficiency of their Excel spreadsheet skills by tapping into the powerful programming, automation, and customization capabilities available with Visual Basic for Applications (VBA).
This course is the first part of a three-part series and Specialization that focuses on the application of computing techniques in Excel/VBA to solve problems. In this course (Part 1), you will: 1) create macros to automate procedures in Excel; 2) define your own user-defined functions; 3) create basic subroutines to interface with the user; 4) learn the basic programming structures in VBA; and 5) automate Excel’s Goal Seek and Solver tools and use numerical techniques to create “live solutions” to solve targeting and optimization problems.
New to computer programming? The extremely intuitive and visual nature of VBA lends itself nicely to teaching and learning - what a fun way to learn to code! No prior knowledge in programming nor advanced math skills are necessary yet seasoned programmers will pick up new and creative spreadsheet problem solving strategies.
After you have learned the basics of VBA, each module will introduce foundational and broad problems inspired by situations that you might encounter in the real world. To pass each module, you'll need to pass a mastery quiz and complete a problem solving assignment. This course is unique in that the weekly assignments are completed in-application (i.e., on your own computer in Excel), providing you with valuable hands-on training.
Week 1 will introduce you to visual basic for applications (VBA) and teach you the foundational tools required to create basic procedures in VBA. You'll learn about different data types and the scope of variables, how to troubleshoot your code when it's not working, and how to record basic macros using both absolute and relative referencing modes.
Saving your files as macro-enabled workbooks•1 minute
Recording basic macros•8 minutes
Absolute vs. relative referencing during macro recording•8 minutes
Overview of procedures in VBA•8 minutes
Why use Option Explicit?•3 minutes
Declaration of variables, data types, and scope of variables•9 minutes
How to troubleshoot when your code is not working properly•6 minutes
Assignment 1 preview and instructions•2 minutes
14 readings•Total 145 minutes
Course Updates and Accessibility Support•1 minute
For Mac users•10 minutes
The power of Excel/VBA•3 minutes
The importance of a Course Certificate and the future of higher education•5 minutes
(OPTIONAL) Will Office Scripts replace VBA?•10 minutes
Course improvement and my philosophy on learning•2 minutes
If an assignment is not showing up for you•10 minutes
How to get help•2 minutes
VBA Tutorial•10 minutes
Opening macro-enabled workbooks•10 minutes
Week 1 files•2 minutes
Need to improve your Excel skills?•10 minutes
Assignment 1•60 minutes
Week 2 files•10 minutes
3 assignments•Total 13 minutes
Unlock quiz for Week 1 files•2 minutes
Week 1 Quiz•10 minutes
Assignment 1 Submission •1 minute
3 discussion prompts•Total 30 minutes
What about you?!•10 minutes
(OPTIONAL) Week 1 reflection•10 minutes
Assignment 1 Discussion•10 minutes
VBA Nuts & Bolts, Part 1
Module 2•3 hours to complete
Module details
In Week 2, you will learn how to write proper VBA syntax and basic mathematical expressions; you will learn about objects, properties, methods, and events; and you will learn how to borrow common Excel functions using VBA code. In addition, you will learn how to move information to and from Excel and the Visual Basic Editor (VBE).
A warning about exponentiation and ampersands•2 minutes
Introduction to objects, properties, methods, and events•8 minutes
Common objects, properties, and methods•9 minutes
How to borrow functions from Excel•12 minutes
Examples, Part 1: Basic input and output in subroutines•7 minutes
Examples, Part 2: Basic input and output in subroutines•5 minutes
Examples, Part 3: Basic input and output in subroutines•2 minutes
Assignment 2 preview and instructions•2 minutes
2 readings•Total 92 minutes
Assignment 2•90 minutes
Week 3 files•2 minutes
2 assignments•Total 21 minutes
Week 2 Quiz•20 minutes
Assignment 2 submission•1 minute
2 discussion prompts•Total 20 minutes
(OPTIONAL) Week 2 reflection•10 minutes
Assignment 2 Discussion•10 minutes
VBA Nuts & Bolts, Part 2
Module 3•2 hours to complete
Module details
In Week 3, you will learn how to create your own user-defined functions. You will also learn how to call other subroutines and functions that reside in other files and you will learn how to design subroutines based on a modular approach. Finally, you will learn basic error handling in VBA.
How to make your own user-defined function•5 minutes
How to convert a user-defined function to an Excel Add-In•3 minutes
How to troubleshoot your user defined functions•1 minute
Why you don't use input and message boxes in functions•3 minutes
How to handle basic user error in your subroutines•3 minutes
An introduction to modular programming•6 minutes
Running a subroutine that resides in another file•4 minutes
Assignment 3 preview and instructions•2 minutes
3 readings•Total 67 minutes
Remember to use your DEBUGGING skills!•5 minutes
Assignment 3•60 minutes
Week 4 files•2 minutes
2 assignments•Total 21 minutes
Week 3 Quiz•20 minutes
Assignment 3 submission•1 minute
2 discussion prompts•Total 20 minutes
(OPTIONAL) Week 3 reflection•10 minutes
Assignment 3 Discussion•10 minutes
Programming structures in VBA
Module 4•3 hours to complete
Module details
Week 4 begins the "meat" of programming in VBA, and we are finally moving into some exciting problem solving. You will learn about the common programming structures in VBA (sequence, selection, and repetition) that form the foundation for advanced programming procedures. Several examples will highlight the utility of these programming structures.
How to implement One-Way If...Then selection structures•8 minutes
How to implement Two-Way If...Then selection structures•8 minutes
All about the Multi-Alternative If...Then•4 minutes
Variable iteration loops (Do...Loops)•7 minutes
Validating user input using a Do...Loop•4 minutes
Creating a guessing game using a Do...Loop•3 minutes
All about fixed iteration (For...Next) loops•9 minutes
Iterating through a Selection vs. a Range•10 minutes
Putting it all together: Example 1•5 minutes
Putting it all together: Example 2•8 minutes
Example: Highlighting max and min values in a range•7 minutes
Using the For Each... Next statement•8 minutes
Worked mini-project: Searching through high and low temperatures in an Excel workbook•9 minutes
Assignment 4 preview and instructions•3 minutes
2 readings•Total 70 minutes
Assignment 4•60 minutes
Week 5 files•10 minutes
2 assignments•Total 21 minutes
Week 4 Quiz•20 minutes
Assignment 4 submission•1 minute
2 discussion prompts•Total 20 minutes
(OPTIONAL) Week 4 reflection•10 minutes
Assignment 4 Discussion•10 minutes
Data Management Using VBA
Module 5•4 hours to complete
Module details
One of the most valuable uses of VBA is to manage large data sets in Excel. In this module, you'll learn how to automate the processes of filtering, sorting, and removing duplicates. You'll learn additional strategies for cleaning up data. The strategies learned in this week will make you a valued VBA user.
Highlighting or deleting rows that satisfy a certain criterion•9 minutes
Sorting basics•9 minutes
Removing duplicates•6 minutes
Example: Removing duplicates•9 minutes
Putting it all together: Cleaning data•10 minutes
Assignment 5 preview and instructions•3 minutes
2 readings•Total 100 minutes
Assignment 5•90 minutes
Week 6 files•10 minutes
2 assignments•Total 35 minutes
Week 5 Quiz•30 minutes
Assignment 5 submission•5 minutes
2 discussion prompts•Total 20 minutes
(OPTIONAL) Week 5 reflection•10 minutes
Assignment 5 Discussion•10 minutes
R1C1 Style
Module 6•3 hours to complete
Module details
The final module of this course focuses on using the R1C1 style of cell formatting. This style, in contrast to the default A1 style of referencing in Excel, makes it much easier and straightforward to perform advanced manipulations to Excel worksheets. Several examples demonstrate the utility of the R1C1 style.
CU Boulder is a dynamic community of scholars and learners on one of the most spectacular college campuses in the country. As one of 34 U.S. public institutions in the prestigious Association of American Universities (AAU), we have a proud tradition of academic excellence, with five Nobel laureates and more than 50 members of prestigious academic academies.
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Learner reviews
4.8
4,313 reviews
5 stars
87.08%
4 stars
10.01%
3 stars
1.39%
2 stars
0.34%
1 star
1.15%
Showing 3 of 4313
I
IF
4·
Reviewed on Sep 20, 2018
the course was very informative and helpful.However, it would be easier to concentrate on VBA if people who don't use mathematical formulas that much would not have to deal with maths that much.
S
SH
5·
Reviewed on Oct 26, 2018
Really enjoyed this course. From Week 4 onwards it's quite challenging. Really appreciate the active engagement from Dr. Nuttelman and other moderators on the forum who gave excellent advice.
D
DL
5·
Reviewed on Mar 14, 2021
Well done, thank you. I had a very limited understanding of loops in programming. After this class, I feel much more comfortable with understanding and designing effective loops and more.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.